diff options
author | dan <Dan Kennedy> | 2024-12-26 14:40:11 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2024-12-26 14:40:11 +0000 |
commit | 4e3b6a14fdcb2e09327348bcf9be3c47db43a4cf (patch) | |
tree | 29b472b6926a653671c07a0a598511d3ced9d570 /src/sqliteLimit.h | |
parent | ce50282c3bf662c1e12d066bff869c53532a3d74 (diff) | |
parent | 9591d3fe93936533c8c3b0dc4d025ac999539e11 (diff) | |
download | sqlite-4e3b6a14fdcb2e09327348bcf9be3c47db43a4cf.tar.gz sqlite-4e3b6a14fdcb2e09327348bcf9be3c47db43a4cf.zip |
Merge trunk changes into this branch.
FossilOrigin-Name: 3e2893097c59820def88bb4739189c9c9a4f70a98a0a72b81959658f069715f6
Diffstat (limited to 'src/sqliteLimit.h')
-rw-r--r-- | src/sqliteLimit.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sqliteLimit.h b/src/sqliteLimit.h index c7185b1c5..620b0f8e5 100644 --- a/src/sqliteLimit.h +++ b/src/sqliteLimit.h @@ -89,9 +89,13 @@ /* ** The maximum number of arguments to an SQL function. +** +** This value has a hard upper limit of 32767 due to storage +** constraints (it needs to fit inside a i16). We keep it +** lower than that to prevent abuse. */ #ifndef SQLITE_MAX_FUNCTION_ARG -# define SQLITE_MAX_FUNCTION_ARG 127 +# define SQLITE_MAX_FUNCTION_ARG 1000 #endif /* |