1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-05 04:30:38 +03:00

Remove an assert() condition that may not be true if the database file is corrupt. Update a test case in corruptC.test.

FossilOrigin-Name: 0bcf75516f59e49536f9e5c5cd542058ab61e2fc
This commit is contained in:
dan
2013-11-28 14:14:31 +00:00
parent 19be738b42
commit 0d4a0cdf18
4 changed files with 13 additions and 10 deletions

View File

@@ -3114,7 +3114,6 @@ int sqlite3VdbeRecordCompare(
d1 = szHdr1;
assert( pKeyInfo->nField+pKeyInfo->nXField>=pPKey2->nField );
assert( pKeyInfo->aSortOrder!=0 );
assert( idx1<szHdr1 && i<pPKey2->nField );
do{
u32 serial_type1;