]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Enhance the sqlite3VdbeMemAboutToChange() shallow-copy validation mechanism
authordrh <drh@noemail.net>
Mon, 23 Dec 2019 02:18:49 +0000 (02:18 +0000)
committerdrh <drh@noemail.net>
Mon, 23 Dec 2019 02:18:49 +0000 (02:18 +0000)
commit13d795026705020e58603a4005c99ad0fbfb73b2
tree4a1cf3bbd70e2f400b911ba4866c9f55c3d69b41
parent4799488e163c02508894a7c71f256605f45d9645
Enhance the sqlite3VdbeMemAboutToChange() shallow-copy validation mechanism
by adding the new OP_ReleaseReg opcode to tell MemAboutToChange() that a
range of registers is no longer needed so that the source register can be
freely changed.  This is a change to debugging and test builds only and
does not impact release builds.  Fix for ticket
[c62c5e58524b204d] and [5ad2aa6921faa1ee].  The previous fix to ticket
[5ad2aa6921faa1ee] is backed out by this change since this change is a better
fix.

FossilOrigin-Name: 36fdeb4f0a66970a35de688b617f90899c89cfdfab659f864df99aa7ebf854ea
manifest
manifest.uuid
src/expr.c
src/vdbe.c
src/vdbe.h
src/vdbeaux.c
test/update.test