mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Another corruption detection case in the sqlite3BtreeIndexMoveto()
last page optimization. FossilOrigin-Name: 531e6ad0389c6c820bb8c64db5049fb6b0bffd30bd394fd8ee7412959b1752e2
This commit is contained in:
@@ -5839,6 +5839,7 @@ int sqlite3BtreeIndexMoveto(
|
||||
&& (c = indexCellCompare(pCur, 0, pIdxKey, xRecordCompare))<=0
|
||||
){
|
||||
pCur->curFlags &= ~BTCF_ValidOvfl;
|
||||
if( pIdxKey->errCode ){ *pRes = 0; return SQLITE_CORRUPT_BKPT; }
|
||||
goto bypass_moveto_root; /* Start search on the current page */
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user