]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Ensure that the accumulator for an aggregate always gets initialized,
authordrh <>
Fri, 18 Jul 2025 12:10:15 +0000 (12:10 +0000)
committerdrh <>
Fri, 18 Jul 2025 12:10:15 +0000 (12:10 +0000)
commit74cc109780ee33138db6e7ed076426604131b8c6
tree3ecd297d28c2aa81e60d437c03219386e9b51ad2
parent01a2953350395ca3b0962c9a0245db847f271b82
Ensure that the accumulator for an aggregate always gets initialized,
even when the aggregate is on the right side of a LEFT JOIN and never
gets evaluated.  This fixes a problem introduced by [663f5dd32d9db832]
and found by dbsqlfuzz.  Test cases in TH3.

FossilOrigin-Name: 235cf6586b9ac914a32bd8adfd460daae998687f02f0998a7aa3c6bfc857d1c9
manifest
manifest.uuid
src/expr.c
src/select.c
src/sqliteInt.h