mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Remove an assert() in btree.c:releasePage() that is not necessarily true
when the btree is recovering from an OOM that occurs in the middle of a balance(). FossilOrigin-Name: 04fc9c7661dd24d080f965e7eae9010a2d346e6a
This commit is contained in:
@@ -1606,7 +1606,6 @@ static int getAndInitPage(
|
||||
*/
|
||||
static void releasePage(MemPage *pPage){
|
||||
if( pPage ){
|
||||
assert( pPage->nOverflow==0 || sqlite3PagerPageRefcount(pPage->pDbPage)>1 );
|
||||
assert( pPage->aData );
|
||||
assert( pPage->pBt );
|
||||
assert( sqlite3PagerGetExtra(pPage->pDbPage) == (void*)pPage );
|
||||
|
Reference in New Issue
Block a user