diff options
author | drh <> | 2022-02-05 21:49:47 +0000 |
---|---|---|
committer | drh <> | 2022-02-05 21:49:47 +0000 |
commit | 796588ae07590acbd57fcd1509aa4c9706149a7d (patch) | |
tree | f751eab289a28ffb81af2778119bcbfdff472d86 /src/treeview.c | |
parent | 4734b3f9b741a6d744dd20338e515c4fdfe9a00c (diff) | |
download | sqlite-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.c | 2 |
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"); |