]> git.ipfire.org Git - thirdparty/sqlite.git/commit
The query flattener should not run if the subquery is a compound that contains
authordrh <>
Wed, 13 Jul 2022 16:06:35 +0000 (16:06 +0000)
committerdrh <>
Wed, 13 Jul 2022 16:06:35 +0000 (16:06 +0000)
commitb3f7a5d8f65c1beb3c7951c2b5dee7e18fcb34ea
treeb2a18135091173fd5bcbcc872e2c6101c93e929f
parent14030cca04ea397d69daa23d9c1dbcf862efef88
The query flattener should not run if the subquery is a compound that contains
a RIGHT JOIN in any arm and the subquery is not the first element of the
outer query.  Otherwise, prior elements of the outer query will not have
the JT_LTORJ flag set.  Fix for the problem reported in
[forum:/forumpost/174afeae5734d42d|forum post 174afeae5734d42d].

FossilOrigin-Name: cf9ed7f2e1a7be230a8ff689a759289a6bf59c1c84169f2ed510f74c02e0c2e0
manifest
manifest.uuid
src/select.c
test/join8.test