1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +03:00

All SQLITE_MAX_VARIABLE_NUMBER to exceed 32767. The sizes of some structures

increase when the compile-time parameter is configured this way.

FossilOrigin-Name: 16a24b4485420bdf30d3c8e22cfbaf008e07df02
This commit is contained in:
drh
2009-11-03 01:22:07 +00:00
parent ccaf7731d7
commit 75f8d8be1a
6 changed files with 23 additions and 17 deletions

View File

@@ -1590,8 +1590,13 @@ struct Expr {
int iTable; /* TK_COLUMN: cursor number of table holding column
** TK_REGISTER: register number
** TK_TRIGGER: 1 -> new, 0 -> old */
#if SQLITE_MAX_VARIABLE_NUMBER<=32767
i16 iColumn; /* TK_COLUMN: column index. -1 for rowid.
** TK_VARIABLE: variable number (always >= 1). */
#else
int iColumn; /* Some users want a lot of variables and are willing
** to bear the memory and performance costs. */
#endif
i16 iAgg; /* Which entry in pAggInfo->aCol[] or ->aFunc[] */
i16 iRightJoinTable; /* If EP_FromJoin, the right table of the join */
u8 flags2; /* Second set of flags. EP2_... */