]> git.ipfire.org Git - thirdparty/sqlite.git/commit
It turns out that pagerExclusiveLock() can be called with the lock state
authordrh <>
Sun, 7 May 2023 03:23:32 +0000 (03:23 +0000)
committerdrh <>
Sun, 7 May 2023 03:23:32 +0000 (03:23 +0000)
commit28f32bedd16b6bb3f90848d3ac3778231eebca34
tree12d7e9bb27a8f5b6b0c569558a718aaaa56b809f
parent4e73863fd4dd66d6a404a66c69e37e33292fa50e
It turns out that pagerExclusiveLock() can be called with the lock state
already set to RESERVED if the SQLITE_FCNTL_PERSIST_WAL setting is set and
a specific sequence of multiple journal mode changes occur.
Enhance pagerExclusiveLock() to deal with this.
[forum:/forumpost/8130545bc6|Forum post 8130545bc6]

FossilOrigin-Name: 2bb8d977392f635515aa4a36f6f763a2e4858f7adc1120519e2e74c04a9749b5
manifest
manifest.uuid
src/pager.c
test/walpersist.test