1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

More warning fixes.

FossilOrigin-Name: 51a6a797e1d61c4361b87cdf3467bfd3ce161cc3
This commit is contained in:
mistachkin
2012-10-18 10:35:19 +00:00
parent e1b461bd10
commit 5f070c7bc8
5 changed files with 12 additions and 15 deletions

View File

@@ -5744,7 +5744,7 @@ static int balance_quick(MemPage *pParent, MemPage *pPage, u8 *pSpace){
assert( pPage->nOverflow==1 );
/* This error condition is now caught prior to reaching this function */
if( pPage->nCell<=0 ) return SQLITE_CORRUPT_BKPT;
if( pPage->nCell==0 ) return SQLITE_CORRUPT_BKPT;
/* Allocate a new page. This page will become the right-sibling of
** pPage. Make the parent page writable, so that the new divider cell