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/sqliteInt.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/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 76b37cb69..4040f01a4 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -2512,10 +2512,10 @@ struct AggInfo { ** it uses less memory in the Expr object, which is a big memory user ** in systems with lots of prepared statements. And few applications ** need more than about 10 or 20 variables. But some extreme users want -** to have prepared statements with over 32767 variables, and for them +** to have prepared statements with over 32766 variables, and for them ** the option is available (at compile-time). */ -#if SQLITE_MAX_VARIABLE_NUMBER<=32767 +#if SQLITE_MAX_VARIABLE_NUMBER<32767 typedef i16 ynVar; #else typedef int ynVar; |