]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix the sha1() extension function so that it interprets zero-length
authordrh <>
Wed, 29 Jul 2026 10:28:44 +0000 (10:28 +0000)
committerdrh <>
Wed, 29 Jul 2026 10:28:44 +0000 (10:28 +0000)
commit67cfb59334293d2db3daae9342998ca09d558e5b
tree2b0952f0c8e50fdfce16c46a5a4fe0be1bef68df
parent5a9c01b01a360431249f4248ce59d7d9dff3c28c
Fix the sha1() extension function so that it interprets zero-length
BLOBs as BLOBs and not as NULL.  Also add a few test cases for that
extension function, which was previously completely untested.
[bugs:/info/2026-07-29T06:31:41Z|Bug 2026-07-29T06:31:41Z].

FossilOrigin-Name: 978d12de384fef985d0363633566304bb20f452dfe8ceb836ca1d353a135f30a
ext/misc/sha1.c
manifest
manifest.uuid
test/sha1.sql [new file with mode: 0644]
test/shellB.test