1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Merge in all trunk changes prior to the BTREE_FORDELETE enhancement.

FossilOrigin-Name: 53d5a4add6b60722ad77daf98b6b8983b081e16a
This commit is contained in:
drh
2015-10-26 18:51:09 +00:00
23 changed files with 608 additions and 236 deletions

View File

@@ -4520,7 +4520,9 @@ static int accessPayload(
/* If required, populate the overflow page-list cache. */
if( (pCur->curFlags & BTCF_ValidOvfl)!=0 ){
assert(!pCur->aOverflow[iIdx] || pCur->aOverflow[iIdx]==nextPage);
assert( pCur->aOverflow[iIdx]==0
|| pCur->aOverflow[iIdx]==nextPage
|| CORRUPT_DB );
pCur->aOverflow[iIdx] = nextPage;
}