mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 19:11:39 -06:00
Fix transactions not being ignored when executing SQL (#656)
* Fix transactions not being ignored when executing SQL * Fix transactions not being ignored when importing from SQL * Fix Travis build error * Fix Travis build error
This commit is contained in:
committed by
Justin Clift
parent
3a8fdafdf4
commit
d03aef1e35
@@ -898,6 +898,8 @@ void MainWindow::executeQuery()
|
||||
if (query.isEmpty())
|
||||
return;
|
||||
|
||||
query = query.remove(QRegExp("^\\s*BEGIN TRANSACTION;|COMMIT;\\s*$"));
|
||||
|
||||
//log the query
|
||||
db.logSQL(query, kLogMsg_User);
|
||||
sqlite3_stmt *vm;
|
||||
|
||||
Reference in New Issue
Block a user