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

Remove an assert() that was failing if there were any open incremental blob handles when a statement transaction was rolled back. (CVS 5326)

FossilOrigin-Name: f66491ab2ba3645d4e44e33ec6fa0ab94b2989be
This commit is contained in:
danielk1977
2008-06-28 15:33:24 +00:00
parent 65df9db007
commit 986fbb8e30
4 changed files with 63 additions and 18 deletions

View File

@@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
** $Id: btree.c,v 1.469 2008/06/23 09:50:51 danielk1977 Exp $
** $Id: btree.c,v 1.470 2008/06/28 15:33:25 danielk1977 Exp $
**
** This file implements a external (disk-based) database using BTrees.
** See the header comment on "btreeInt.h" for additional information.
@@ -2690,7 +2690,6 @@ int sqlite3BtreeRollbackStmt(Btree *p){
pBt->db = p->db;
if( pBt->inStmt && !pBt->readOnly ){
rc = sqlite3PagerStmtRollback(pBt->pPager);
assert( countWriteCursors(pBt)==0 );
pBt->inStmt = 0;
}
sqlite3BtreeLeave(p);