]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix to check-in [b9190d3da70c4171] - the agg-with-indexed-expr optimization
authordrh <>
Sat, 4 Mar 2023 15:36:51 +0000 (15:36 +0000)
committerdrh <>
Sat, 4 Mar 2023 15:36:51 +0000 (15:36 +0000)
commit89b3cbed6788f899d02b27d27f5199d777d53db3
tree13dff1e0a82dbf59c08a3f2c5ab53bed9f5ae9fa
parentc8c7243d6ee9c6231beadc73b572f10c6b4043e9
Fix to check-in [b9190d3da70c4171] - the agg-with-indexed-expr optimization
requested by ticket [99378177930f87bd] - that can cause an incorrect answer
if an aggregate subquery has a GROUP BY clause, and that GROUP BY contains a
term that is not in the result set, and the outer query makes use of expression
indexes.  Problem reported by
[forum:/forumpost/a68313d054|forum post a68313d054].

FossilOrigin-Name: e06973876993926fd56181281d04b8dd504c689abf883fa21a5721cc1d478ea8
manifest
manifest.uuid
src/select.c
test/tkt-99378177930f87bd.test