]> git.ipfire.org Git - thirdparty/sqlite.git/commit
In the OP_Column opcode, when extracting a field that is past the end of
authordrh <drh@noemail.net>
Wed, 29 Oct 2014 01:13:58 +0000 (01:13 +0000)
committerdrh <drh@noemail.net>
Wed, 29 Oct 2014 01:13:58 +0000 (01:13 +0000)
commit739383d25dc714bf968a67e6f5aae52cc0033e2e
tree7ea81fea2e77d72ea6fb2658f8f44aafc8fab8a5
parent62ecc28caf3c45769fe4a7f8aa9e631a2280cf1d
In the OP_Column opcode, when extracting a field that is past the end of
a short record (because the row was originally inserted prior to ALTER TABLE
ADD COLUMN) then make sure the output register is fully NULL and does not
contain leftover flags (such as MEM_Ephem) from its previous use.
Fix for ticket [43107840f1c02].  This is a cherrypick of
check-in [24780f8ddc1683fc].

FossilOrigin-Name: 304ea6ba6f4cf40a76d32d37af73a253f493ba47
manifest
manifest.uuid
src/vdbe.c
test/update.test