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/expr.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/expr.c')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index 37923bc84..86c966683 100644 --- a/src/expr.c +++ b/src/expr.c @@ -479,7 +479,7 @@ static int codeCompare( p5 = binaryCompareP5(pLeft, pRight, jumpIfNull); addr = sqlite3VdbeAddOp4(pParse->pVdbe, opcode, in2, dest, in1, (void*)p4, P4_COLLSEQ); - sqlite3VdbeChangeP5(pParse->pVdbe, (u8)p5); + sqlite3VdbeChangeP5(pParse->pVdbe, (u16)p5); return addr; } |