]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When restarting (wrapping) a log file, set all unused aReadMark[] slots to READMARK_N...
authordan <dan@noemail.net>
Wed, 9 Jun 2010 16:58:49 +0000 (16:58 +0000)
committerdan <dan@noemail.net>
Wed, 9 Jun 2010 16:58:49 +0000 (16:58 +0000)
commit199100e2cdd8cd54bbaacaaf5c2f7317f19587db
treefa58e1d74706e91d79e7d280a0c28823e0f389cb
parent6ac43394399ae3e19c60ca91719ada2fdc6af15b
When restarting (wrapping) a log file, set all unused aReadMark[] slots to READMARK_NOT_USED instead of 0. Setting them to 0 does not cause a problem, but may cause SQLite to obtain and release a few more file locks than would otherwise be necessary.

FossilOrigin-Name: 0797b10c0cc08ae38e26685d1f8331e37d428781
manifest
manifest.uuid
src/wal.c