Skip to content

Commit 05172ca

Browse files
committed
Fix freeze/deadlock after aborter pragma (#3742)
1 parent 9eb0a5a commit 05172ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/RunSql.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ bool RunSql::executeNextStatement()
136136
} else {
137137
// Abort
138138
emit statementErrored(tr("Execution aborted by user"), execute_current_position, execute_current_position + (query_type == PragmaStatement ? 5 : 6));
139+
releaseDbAccess();
139140
return false;
140141
}
141142
}

0 commit comments

Comments
 (0)