]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Do not use the flattening optimization for a sub-query on the RHS of a LEFT
authordan <dan@noemail.net>
Tue, 18 Jul 2017 17:34:41 +0000 (17:34 +0000)
committerdan <dan@noemail.net>
Tue, 18 Jul 2017 17:34:41 +0000 (17:34 +0000)
commit46133d98a62de28b112e8fa12bf4542412065fcd
tree869ed9f357e2bd54e9f10a4bd733c3d85a237525
parentbbccd521439dd3036dfe4f24d5130c36bebf142e
Do not use the flattening optimization for a sub-query on the RHS of a LEFT
JOIN if that subquery reads data from a virtual table. Because it prevents the
planner from creating an automatic index on the results of the sub-query, the
flattening optimization sometimes slows things down in this case.

FossilOrigin-Name: 9dbae1df75219e2accd8993015ce0ffc21966d7e69d04178b1a2cc46207fe260
manifest
manifest.uuid
src/select.c
test/fts3join.test