diff options
author | drh <drh@noemail.net> | 2020-01-01 01:26:05 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2020-01-01 01:26:05 +0000 |
commit | 6d67aff0e3d613b2decc7d9a9e93d5d6be633edc (patch) | |
tree | 54690f2d2f32139db349821cb807b0df719599a1 /src | |
parent | 51676fab72dd89450f6c8b8c252703016e005286 (diff) | |
download | sqlite-6d67aff0e3d613b2decc7d9a9e93d5d6be633edc.tar.gz sqlite-6d67aff0e3d613b2decc7d9a9e93d5d6be633edc.zip |
Issue OP_ReleaseReg opcodes against the array of registers used to compute
index records after the index record has been computed.
FossilOrigin-Name: e3330861b4deab7c7cc09ad8b936d633c600b9fb4e274801efeaaf94e5c860b4
Diffstat (limited to 'src')
-rw-r--r-- | src/insert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/insert.c b/src/insert.c index d778e4b45..3b4ad5640 100644 --- a/src/insert.c +++ b/src/insert.c @@ -1976,6 +1976,7 @@ void sqlite3GenerateConstraintChecks( sqlite3SetMakeRecordP5(v, pIdx->pTable); } #endif + sqlite3VdbeReleaseRegisters(pParse, regIdx, pIdx->nColumn, 0); /* In an UPDATE operation, if this index is the PRIMARY KEY index ** of a WITHOUT ROWID table and there has been no change the |