diff options
author | drh <> | 2022-10-20 13:36:32 +0000 |
---|---|---|
committer | drh <> | 2022-10-20 13:36:32 +0000 |
commit | 63b3a64ca6d813baec8ab64c23123eb854460c1c (patch) | |
tree | 3d0977aac7dc46bbfb32444b5a8ed5f596cd5d8e /src/sqliteInt.h | |
parent | 9b6a28330b74642e532a814c1aabdcecd4ac026e (diff) | |
download | sqlite-63b3a64ca6d813baec8ab64c23123eb854460c1c.tar.gz sqlite-63b3a64ca6d813baec8ab64c23123eb854460c1c.zip |
The generalized indexed expression optimization of [2435112867fbd7b6] makes
the prior [a47efb7c8520a011] enhancement from 2017 obsolete. This check-in
removes the older optimization.
FossilOrigin-Name: 56442c9bdd7844454c79acf83323380ea3509cb2e0b9a3d538a6b51726ae6d07
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index a437cc0d2..2159ec848 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -2361,7 +2361,7 @@ struct Table { #ifndef SQLITE_OMIT_VIRTUALTABLE # define IsVirtual(X) ((X)->eTabType==TABTYP_VTAB) # define ExprIsVtab(X) \ - ((X)->op==TK_COLUMN && (X)->y.pTab!=0 && (X)->y.pTab->eTabType==TABTYP_VTAB) + ((X)->op==TK_COLUMN && (X)->y.pTab->eTabType==TABTYP_VTAB) #else # define IsVirtual(X) 0 # define ExprIsVtab(X) 0 |