diff options
author | drh <drh@noemail.net> | 2019-12-12 20:22:34 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-12-12 20:22:34 +0000 |
commit | 41cee66848afe40aba1e4d4a83bd50b6c33aaff0 (patch) | |
tree | d40d1f4dd674e9fc6ee4c0010f55b4fd52f35b74 /src/treeview.c | |
parent | 0225d819c4ca87cd29cd6f58d50c75bcee6213bc (diff) | |
download | sqlite-41cee66848afe40aba1e4d4a83bd50b6c33aaff0.tar.gz sqlite-41cee66848afe40aba1e4d4a83bd50b6c33aaff0.zip |
Change the name of the Expr.a.zName field to zEName, so that it has a name
that is distinct from other fields and variables and is hence easier to
grep for.
FossilOrigin-Name: d3783357f8fa76c42a86f12b214522f0388c37773c36ab8c5ce0623abbc4436a
Diffstat (limited to 'src/treeview.c')
-rw-r--r-- | src/treeview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/treeview.c b/src/treeview.c index 5b9e06454..ac0e92a08 100644 --- a/src/treeview.c +++ b/src/treeview.c @@ -106,7 +106,7 @@ void sqlite3TreeViewWith(TreeView *pView, const With *pWith, u8 moreToFollow){ char cSep = '('; int j; for(j=0; j<pCte->pCols->nExpr; j++){ - sqlite3_str_appendf(&x, "%c%s", cSep, pCte->pCols->a[j].zName); + sqlite3_str_appendf(&x, "%c%s", cSep, pCte->pCols->a[j].zEName); cSep = ','; } sqlite3_str_appendf(&x, ")"); @@ -727,7 +727,7 @@ void sqlite3TreeViewBareExprList( sqlite3TreeViewLine(pView, "%s", zLabel); for(i=0; i<pList->nExpr; i++){ int j = pList->a[i].u.x.iOrderByCol; - char *zName = pList->a[i].zName; + char *zName = pList->a[i].zEName; int moreToFollow = i<pList->nExpr - 1; if( j || zName ){ sqlite3TreeViewPush(pView, moreToFollow); |