mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix an incorrect assert in btree.c. (CVS 6465)
FossilOrigin-Name: 2c1f59834ab7a16066ee12cb8a8342d438c23ce9
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
** May you share freely, never taking more than you give.
|
||||
**
|
||||
*************************************************************************
|
||||
** $Id: btree.c,v 1.591 2009/04/06 17:50:03 danielk1977 Exp $
|
||||
** $Id: btree.c,v 1.592 2009/04/07 14:38:58 danielk1977 Exp $
|
||||
**
|
||||
** This file implements a external (disk-based) database using BTrees.
|
||||
** See the header comment on "btreeInt.h" for additional information.
|
||||
@@ -6351,8 +6351,8 @@ int sqlite3BtreeDelete(BtCursor *pCur){
|
||||
rc = sqlite3BtreeNext(&leafCur, ¬Used);
|
||||
}
|
||||
pLeafPage = leafCur.apPage[leafCur.iPage];
|
||||
assert( pLeafPage->pgno==leafPgno );
|
||||
assert( leafCur.aiIdx[leafCur.iPage]==0 );
|
||||
assert( rc!=SQLITE_OK || pLeafPage->pgno==leafPgno );
|
||||
assert( rc!=SQLITE_OK || leafCur.aiIdx[leafCur.iPage]==0 );
|
||||
}
|
||||
|
||||
if( SQLITE_OK==rc
|
||||
|
Reference in New Issue
Block a user