]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Have window functions sum(), total() and avg() correctly handle the obscure case...
authordrh <>
Sat, 16 May 2026 17:09:12 +0000 (17:09 +0000)
committerdrh <>
Sat, 16 May 2026 17:09:12 +0000 (17:09 +0000)
commitaf24f5e21e7cb94fe40b799734bea3cb8a9013e0
tree6513e4e870b0cdef921ede7dc7146e0af16c3d45
parent7678510ff22f8d96759d8b4be26a2b3983c71af0
Have window functions sum(), total() and avg() correctly handle the obscure case where integer overflow occurs as part of the same step that adds the first real value to the running total. Fix for forum post [forum:ec538b04ce | ec538b04ce].

FossilOrigin-Name: eb95d18aee8ffb9a2550aadbecccaf43c0a5778973386da1196a46f645e04286
manifest
manifest.uuid
src/func.c
test/windowE.test