]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix the code generated for vector IN operator constraints on virtual tables
authordrh <>
Mon, 7 Mar 2022 14:59:45 +0000 (14:59 +0000)
committerdrh <>
Mon, 7 Mar 2022 14:59:45 +0000 (14:59 +0000)
commit312d0ec0a77ef672a60a121e4ce93733e8453d61
tree2ef95e60328fb167764e9a8b461a612b51141270
parent135f5fb7470fb9aff5d6aa8ad6f5a92ffb4f285b
Fix the code generated for vector IN operator constraints on virtual tables
so that they work even if the "omit" field in the sqlite3_index_info object
is off.  This has apparently never worked correctly before.  Presumably, nobody
has ever before written a virtual table that can use vector IN operator
constraints and that relies on bytecode to double-check the constraints.
Test cases in TH3.  Problem discovered by
dbsqlfuzz cab8e26194a40147627094f3c6849c0a7b1e0310.

FossilOrigin-Name: 4a2040d5c78f42b892a080ba086f6ab32f59bb9c31b897af40c4359cdb17b0e9
manifest
manifest.uuid
src/wherecode.c