aboutsummaryrefslogtreecommitdiff
path: root/src/treeview.c
diff options
context:
space:
mode:
authordrh <>2022-05-02 20:49:30 +0000
committerdrh <>2022-05-02 20:49:30 +0000
commitd88fd539893919c8dc247bf3703bcc4d5bc91be4 (patch)
treeaec0798d094c465298099e8bf33799a0bccbfcd2 /src/treeview.c
parent689f1b924611939363e4a593c10fbce56a8ff1b7 (diff)
downloadsqlite-d88fd539893919c8dc247bf3703bcc4d5bc91be4.tar.gz
sqlite-d88fd539893919c8dc247bf3703bcc4d5bc91be4.zip
Organize the various flag bits of the ExprList_item object into a substructure
so that the whole lot can be copied all at once. Faster and smaller code. FossilOrigin-Name: 5341d4bbe9a943f9cdbbdea829e18f108e98972ebb706396c50fc62fcc6a6328
Diffstat (limited to 'src/treeview.c')
-rw-r--r--src/treeview.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/treeview.c b/src/treeview.c
index f314ea672..3ff300c38 100644
--- a/src/treeview.c
+++ b/src/treeview.c
@@ -875,15 +875,15 @@ void sqlite3TreeViewBareExprList(
moreToFollow = 0;
sqlite3TreeViewLine(pView, 0);
if( zName ){
- switch( pList->a[i].eEName ){
+ switch( pList->a[i].fg.eEName ){
default:
fprintf(stdout, "AS %s ", zName);
break;
case ENAME_TAB:
fprintf(stdout, "TABLE-ALIAS-NAME(\"%s\") ", zName);
- if( pList->a[i].bUsed ) fprintf(stdout, "(used) ");
- if( pList->a[i].bUsingTerm ) fprintf(stdout, "(USING-term) ");
- if( pList->a[i].bNoExpand ) fprintf(stdout, "(NoExpand) ");
+ if( pList->a[i].fg.bUsed ) fprintf(stdout, "(used) ");
+ if( pList->a[i].fg.bUsingTerm ) fprintf(stdout, "(USING-term) ");
+ if( pList->a[i].fg.bNoExpand ) fprintf(stdout, "(NoExpand) ");
break;
case ENAME_SPAN:
fprintf(stdout, "SPAN(\"%s\") ", zName);