aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-09-15 15:17:48 +0000
committerdrh <drh@noemail.net>2017-09-15 15:17:48 +0000
commita19543fe703823a434d5d0702db9e45075958be1 (patch)
tree02a59ed6529ca3bb7bdbfbfad3e80783e90a6472 /src/sqliteInt.h
parent154896e8d243bf895775707a1741950dc39567fd (diff)
downloadsqlite-a19543fe703823a434d5d0702db9e45075958be1.tar.gz
sqlite-a19543fe703823a434d5d0702db9e45075958be1.zip
Optimization to the ExprList object to make it slightly smaller and faster.
FossilOrigin-Name: 4da49a95c0f07ed7790169e8833c3e2dacda504a3d997f567572020148abe30b
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 58d64ba2f..4519a472a 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2468,7 +2468,9 @@ struct Expr {
*/
struct ExprList {
int nExpr; /* Number of expressions on the list */
- int nAlloc; /* Number of a[] slots allocated */
+#ifdef SQLITE_DEBUG
+ u8 bFixedSize; /* May not be expanded using sqlite3ExprListAppend() */
+#endif
struct ExprList_item { /* For each expression in the list */
Expr *pExpr; /* The parse tree for this expression */
char *zName; /* Token associated with this expression */