mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Remove a corruption test in balance_nonroot that is superceded by a prior
better check. FossilOrigin-Name: 00693682d8664fa608ba43684f6376a9bd5b84eb
This commit is contained in:
@@ -7027,10 +7027,6 @@ static int balance_nonroot(
|
||||
/*
|
||||
** Allocate k new pages. Reuse old pages where possible.
|
||||
*/
|
||||
if( apOld[0]->pgno<=1 ){
|
||||
rc = SQLITE_CORRUPT_BKPT;
|
||||
goto balance_cleanup;
|
||||
}
|
||||
pageFlags = apOld[0]->aData[0];
|
||||
for(i=0; i<k; i++){
|
||||
MemPage *pNew;
|
||||
|
Reference in New Issue
Block a user