aboutsummaryrefslogtreecommitdiff
path: root/src/tclsqlite.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-06-17 02:13:39 +0000
committerdrh <drh@noemail.net>2010-06-17 02:13:39 +0000
commitb28e59bbbb963e8e3c10628eccd432fa591f49a8 (patch)
treeb469b458829ad7a1383ce99fa696ff52a5e26187 /src/tclsqlite.c
parent53f04f3b3f782fd002fe34d364d7b029b6d0e5d3 (diff)
downloadsqlite-b28e59bbbb963e8e3c10628eccd432fa591f49a8.tar.gz
sqlite-b28e59bbbb963e8e3c10628eccd432fa591f49a8.zip
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
Diffstat (limited to 'src/tclsqlite.c')
0 files changed, 0 insertions, 0 deletions