]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Bug fix: Only trust the database size number at offset 28 if the change
authordrh <drh@noemail.net>
Thu, 17 Jun 2010 02:13:39 +0000 (02:13 +0000)
committerdrh <drh@noemail.net>
Thu, 17 Jun 2010 02:13:39 +0000 (02:13 +0000)
commitb28e59bbbb963e8e3c10628eccd432fa591f49a8
treeb469b458829ad7a1383ce99fa696ff52a5e26187
parent53f04f3b3f782fd002fe34d364d7b029b6d0e5d3
Bug fix:  Only trust the database size number at offset 28 if the change
counter at offset 24 matches the version number counter at offset 92.
This prevents corruption in the case of two applications writing to the
database where one is an older version of SQLite and the other is a newer
version.

FossilOrigin-Name: f80c3f922a114e738613955a939db46cf0847038
manifest
manifest.uuid
src/btree.c
src/pager.c
tool/showdb.c