diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pragma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pragma.c b/src/pragma.c index 84f29c2fd..4f9b8d913 100644 --- a/src/pragma.c +++ b/src/pragma.c @@ -1466,6 +1466,7 @@ void sqlite3Pragma( sqlite3ExprCodeGetColumnOfTable(v, pTab, 0, iCol, regRow+j); sqlite3VdbeAddOp2(v, OP_IsNull, regRow+j, addrOk); VdbeCoverage(v); } + if( regRow+j>pParse->nMem ) pParse->nMem = regRow+j; /* Generate code to query the parent index for a matching parent ** key. If a match is found, jump to addrOk. */ |