]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Enhance the sqlite3VdbeRecordCompare() routines so that if they encounter
authordrh <drh@noemail.net>
Fri, 28 Mar 2014 03:12:48 +0000 (03:12 +0000)
committerdrh <drh@noemail.net>
Fri, 28 Mar 2014 03:12:48 +0000 (03:12 +0000)
commita1f7c0a21c65431a3fbfeba25ab7f1e9ad827273
tree59cf112fca24cf9baf695dd9f1f70e3d37780fad
parent27de5c5cb623fcdbfe4aa128a30a08a5efa268f4
Enhance the sqlite3VdbeRecordCompare() routines so that if they encounter
database corruption, they will set the UnpackedRecord.isCorrupt field and
return 0.  The sqlite3BtreeMovetoUnpacked() routine detects this and returns
SQLITE_CORRUPT, causing the corruption to be reported back to the top-level.

FossilOrigin-Name: 7fa85eaaaf6d211378620d728a759fdfe30a15b0
manifest
manifest.uuid
src/btree.c
src/sqliteInt.h
src/vdbe.h
src/vdbeInt.h
src/vdbeaux.c
test/corruptG.test
test/corruptI.test