mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-05 04:30:38 +03:00
Add a new sqlite3_test_control() that indicates that database files are
always well-formed. Use this during testing to enable assert() statements that prove conditions that are always true for well-formed databases. FossilOrigin-Name: 15e4f63d1f3cbcd0aa789fd3e460cd6e4d3338f9
This commit is contained in:
@@ -3112,8 +3112,9 @@ int sqlite3VdbeRecordCompare(
|
||||
|
||||
idx1 = getVarint32(aKey1, szHdr1);
|
||||
d1 = szHdr1;
|
||||
assert( pKeyInfo->nField+pKeyInfo->nXField>=pPKey2->nField );
|
||||
assert( pKeyInfo->nField+pKeyInfo->nXField>=pPKey2->nField || CORRUPTIBLE );
|
||||
assert( pKeyInfo->aSortOrder!=0 );
|
||||
assert( (idx1<=szHdr1 && i<pPKey2->nField) || CORRUPTIBLE );
|
||||
do{
|
||||
u32 serial_type1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user