aboutsummaryrefslogtreecommitdiff
path: root/src/treeview.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-01-02 22:28:47 +0000
committerdrh <drh@noemail.net>2020-01-02 22:28:47 +0000
commit24d35e409c900adba4f5528e70c6c7e5e748cfd0 (patch)
treeebf7659473500f6e926d5db02e84f45081ac7fb7 /src/treeview.c
parent0c4f82051c7ff301ea78cf1d279005d2dc26ad19 (diff)
parent9fc1b9af36e54c7863a9404a9611abfb4b682374 (diff)
downloadsqlite-24d35e409c900adba4f5528e70c6c7e5e748cfd0.tar.gz
sqlite-24d35e409c900adba4f5528e70c6c7e5e748cfd0.zip
Add the two-size lookaside memory allocator. Also, reduce the per-entry
size of the ExprList object. FossilOrigin-Name: 51665bf0f975fb248964a4be205a4f3285d3f3f8cc697977d264efefbbe20dd8
Diffstat (limited to 'src/treeview.c')
-rw-r--r--src/treeview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/treeview.c b/src/treeview.c
index f10e48ae1..e6ec4161b 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, ")");
@@ -728,7 +728,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);