1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

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
This commit is contained in:
drh
2024-12-12 15:11:27 +00:00
parent 6e53f67c63
commit 35d302ccb1
13 changed files with 41 additions and 33 deletions

View File

@@ -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;
}