Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 15a9620

Browse files
authored
Merge pull request #3742 from chrschllr/pragma_deadlock_fix
Fix freeze/deadlock after aborted pragma
2 parents 7fc89c4 + 5a15500 commit 15a9620

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
@@ -137,6 +137,7 @@ bool RunSql::executeNextStatement()
137137
} else {
138138
// Abort
139139
emit statementErrored(tr("Execution aborted by user"), execute_current_position, execute_current_position + (query_type == PragmaStatement ? 5 : 6));
140+
releaseDbAccess();
140141
return false;
141142
}
142143
}

0 commit comments

Comments
 (0)