Fix nested DB rollback behavior
This commit is contained in:
parent
038d403d46
commit
c507e02d58
|
@ -320,8 +320,9 @@ Zotero.DB = new function(){
|
|||
var db = _getDBConnection();
|
||||
|
||||
if (_transactionNestingLevel){
|
||||
Zotero.debug('Flagging nested transaction for rollback', 5);
|
||||
_transactionNestingLevel--;
|
||||
_transactionRollback = true;
|
||||
Zotero.debug('Flagging nested transaction for rollback', 5);
|
||||
}
|
||||
else {
|
||||
Zotero.debug('Rolling back transaction', 5);
|
||||
|
|
Loading…
Reference in New Issue
Block a user