diff options
author | drh <drh@noemail.net> | 2020-02-12 20:50:20 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2020-02-12 20:50:20 +0000 |
commit | efdba1a8b3c6c967e7fae9c1989c40d420ce64cc (patch) | |
tree | 44f82f3b666a9058d3a831334cc4b42bcf68e150 /src/sqliteLimit.h | |
parent | 41aa442cf4fd66cafbc37f3a1718aeb4c498a96f (diff) | |
download | sqlite-efdba1a8b3c6c967e7fae9c1989c40d420ce64cc.tar.gz sqlite-efdba1a8b3c6c967e7fae9c1989c40d420ce64cc.zip |
Increase the default upper bound on the number of parameters in a single
SQL statement to 32766 (from 999).
FossilOrigin-Name: 2def75693a8ae002375aff80db0e6c970c75f75e8b6ba64f2c518712badb0ae8
Diffstat (limited to 'src/sqliteLimit.h')
-rw-r--r-- | src/sqliteLimit.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sqliteLimit.h b/src/sqliteLimit.h index 28e7a41cc..a7302575c 100644 --- a/src/sqliteLimit.h +++ b/src/sqliteLimit.h @@ -131,9 +131,12 @@ /* ** The maximum value of a ?nnn wildcard that the parser will accept. +** If the value exceeds 32767 then extra space is required for the Expr +** structure. But otherwise, we believe that the number can be as large +** as a signed 32-bit integer can hold. */ #ifndef SQLITE_MAX_VARIABLE_NUMBER -# define SQLITE_MAX_VARIABLE_NUMBER 999 +# define SQLITE_MAX_VARIABLE_NUMBER 32766 #endif /* Maximum page size. The upper bound on this value is 65536. This a limit |