aboutsummaryrefslogtreecommitdiff
path: root/src/treeview.c
diff options
context:
space:
mode:
authordrh <>2022-02-05 21:49:47 +0000
committerdrh <>2022-02-05 21:49:47 +0000
commit796588ae07590acbd57fcd1509aa4c9706149a7d (patch)
treef751eab289a28ffb81af2778119bcbfdff472d86 /src/treeview.c
parent4734b3f9b741a6d744dd20338e515c4fdfe9a00c (diff)
downloadsqlite-796588ae07590acbd57fcd1509aa4c9706149a7d.tar.gz
sqlite-796588ae07590acbd57fcd1509aa4c9706149a7d.zip
Record the position of many identifiers in the parse using the new
Expr.w.iOfst field. This is done with the idea of providing offset results for sqlite3_error_offset() for a more kinds of errors, though that part is not yet implemented. FossilOrigin-Name: 32a3a53b62ab09ac2212905e7f42fe6f1b09d891e015203e5caf4cb16262f18e
Diffstat (limited to 'src/treeview.c')
-rw-r--r--src/treeview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/treeview.c b/src/treeview.c
index 1b19ea679..86f06e832 100644
--- a/src/treeview.c
+++ b/src/treeview.c
@@ -412,7 +412,7 @@ void sqlite3TreeViewExpr(TreeView *pView, const Expr *pExpr, u8 moreToFollow){
sqlite3_str_appendf(&x, " fg.af=%x.%c",
pExpr->flags, pExpr->affExpr ? pExpr->affExpr : 'n');
if( ExprHasProperty(pExpr, EP_FromJoin) ){
- sqlite3_str_appendf(&x, " iRJT=%d", pExpr->iRightJoinTable);
+ sqlite3_str_appendf(&x, " iRJT=%d", pExpr->w.iRightJoinTable);
}
if( ExprHasProperty(pExpr, EP_FromDDL) ){
sqlite3_str_appendf(&x, " DDL");