]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When the left table of a RIGHT JOIN is used inside an aggregate function
authordrh <>
Sat, 25 Mar 2023 21:01:11 +0000 (21:01 +0000)
committerdrh <>
Sat, 25 Mar 2023 21:01:11 +0000 (21:01 +0000)
commitde0416171b4f62bdd134ff6d97950f33050ad63a
tree797ad4a2b9db0a861fe8d9eea6b366cb64a60551
parent28ae1956583ebd539f6019d5c6be5e6c54a7c3b6
When the left table of a RIGHT JOIN is used inside an aggregate function
and the left table employs an index on expressions, then make sure the
expressions evaluate to NULL for the cases where the left table should be
NULL.  Proposed fix for [forum:/forumpost/9b491e1deb|forum post 9b491e1deb].
More testing an analysis needed - there is a FIXME in this check-in.

FossilOrigin-Name: 3572b40a7dfc4acc35e72e08e79f64688f8737e57ac89e4d10e6b32bd5178c63
manifest
manifest.uuid
src/expr.c