]> 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 15:52:15 +0000 (15:52 +0000)
committerdrh <>
Wed, 13 Jul 2022 15:52:15 +0000 (15:52 +0000)
commitb88bf865c31b89ce2265864a79d2815c624b5ba2
tree8bb87d87307e02a1852fe6d0b11896bbb3474798
parent4413ec72557c00b2c3c33e5910edff4250148a7a
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: 274e244c85935084b2f0f85176283f018bf9b74e7703f985bd5a2f6f8bdcff5d
manifest
manifest.uuid
src/select.c
test/join8.test