]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Change the OP_IfNotZero opcode so that it decrements register P1 by 1 rather
authordrh <drh@noemail.net>
Sun, 18 Dec 2016 17:42:00 +0000 (17:42 +0000)
committerdrh <drh@noemail.net>
Sun, 18 Dec 2016 17:42:00 +0000 (17:42 +0000)
commitf99dd359d00fd5af78d8ccb4b7c27fc82f578ddb
tree008f571f1ff819a7f2bede0443f4ec08f064b8d8
parent22d709dd911129e2e657d0f6e6bd132ea5f3b0a4
Change the OP_IfNotZero opcode so that it decrements register P1 by 1 rather
than the value in P3, and so that it only decrements if originally positive.
This avoids decrementing the smallest 64-bit signed integer.

FossilOrigin-Name: 165c044686212fbf7182dd560ad1e57eb4cc9838
manifest
manifest.uuid
src/select.c
src/vdbe.c