diff options
author | drh <> | 2024-12-12 15:11:27 +0000 |
---|---|---|
committer | drh <> | 2024-12-12 15:11:27 +0000 |
commit | 35d302ccb1d79b801d0b8c6a564ab6c1e492df43 (patch) | |
tree | 50014615d74acfffb8a20b6fcf6b8dfe5afdce0e /src/main.c | |
parent | 6e53f67c63771b72d5419265038f428c34fa99d5 (diff) | |
download | sqlite-35d302ccb1d79b801d0b8c6a564ab6c1e492df43.tar.gz sqlite-35d302ccb1d79b801d0b8c6a564ab6c1e492df43.zip |
Increase the maximum number of arguments on an SQL function to 1000 with the
capability to increase it further up to 32767 using a compile-time option.
FossilOrigin-Name: e8d7d68ba0bb0bc2f948db5d9966990a5d23597fc3658b7cd0bc99d53c7353a9
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index 3a535e3cd..5e9a03a47 100644 --- a/src/main.c +++ b/src/main.c @@ -2857,8 +2857,8 @@ static const int aHardLimit[] = { #if SQLITE_MAX_VDBE_OP<40 # error SQLITE_MAX_VDBE_OP must be at least 40 #endif -#if SQLITE_MAX_FUNCTION_ARG<0 || SQLITE_MAX_FUNCTION_ARG>127 -# error SQLITE_MAX_FUNCTION_ARG must be between 0 and 127 +#if SQLITE_MAX_FUNCTION_ARG<0 || SQLITE_MAX_FUNCTION_ARG>32767 +# error SQLITE_MAX_FUNCTION_ARG must be between 0 and 32767 #endif #if SQLITE_MAX_ATTACHED<0 || SQLITE_MAX_ATTACHED>125 # error SQLITE_MAX_ATTACHED must be between 0 and 125 |