mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
The shared_err test runs with no errors. But a potential deadlock has been
discovered and is still unfixed. (CVS 4317) FossilOrigin-Name: f84550be0a0c9e5859b852863b9a8f8ed3fd6919
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
** May you share freely, never taking more than you give.
|
||||
**
|
||||
*************************************************************************
|
||||
** $Id: btree.c,v 1.414 2007/08/28 22:24:35 drh Exp $
|
||||
** $Id: btree.c,v 1.415 2007/08/28 23:28:08 drh Exp $
|
||||
**
|
||||
** This file implements a external (disk-based) database using BTrees.
|
||||
** See the header comment on "btreeInt.h" for additional information.
|
||||
@@ -2420,7 +2420,10 @@ int sqlite3BtreeRollback(Btree *p){
|
||||
while( pBt->pCursor ){
|
||||
sqlite3 *db = pBt->pCursor->pBtree->pSqlite;
|
||||
if( db ){
|
||||
/**** FIX ME: This can deadlock ****/
|
||||
sqlite3_mutex_enter(db->mutex);
|
||||
sqlite3AbortOtherActiveVdbes(db, 0);
|
||||
sqlite3_mutex_leave(db->mutex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user