]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix the OP_SeekRowid opcode so that it has no type-change side-effects on the
authordrh <drh@noemail.net>
Fri, 3 Aug 2018 15:58:07 +0000 (15:58 +0000)
committerdrh <drh@noemail.net>
Fri, 3 Aug 2018 15:58:07 +0000 (15:58 +0000)
commite4fe6d4e628a23863f259fc1500550d315f01fa5
tree7b9841b0bc4e38f39972131dc654d3e8ee52401c
parent5eae974c488ca623fa9d9b72e7a999eb7bd0e113
Fix the OP_SeekRowid opcode so that it has no type-change side-effects on the
key register in P3.  This fixes an obcure problem that arises when doing
equi-joins between a table with a TEXT column against another table with
an INTEGER PRIMARY KEY.  The original problem was discovered when OSSFuzz
created such a query and hit an assert() in OP_VerifyTabCol that was
specifically designed to catch these kinds of errors at run-time.

FossilOrigin-Name: fa94b49e02eb6b8fc4acc220ecc2fabef546c65845696758b25965c26b251ea9
manifest
manifest.uuid
src/vdbe.c
src/wherecode.c