mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-28 23:09:32 -06:00
Fix bug in 0f6946c19d
Fix a stupid mistake in commit 0f6946c19d.
Apparently I wasn't able to count to 6.
This commit is contained in:
@@ -1012,7 +1012,7 @@ bool DBBrowserDB::executeMultiSQL(QByteArray query, bool dirty, bool log)
|
||||
structure_updated = true;
|
||||
|
||||
// Check for transaction statements and skip until the next semicolon
|
||||
if(next_statement.compare(0, 5, "COMMIT") == 0 ||
|
||||
if(next_statement.compare(0, 6, "COMMIT") == 0 ||
|
||||
next_statement.compare(0, 4, "END ") == 0 ||
|
||||
next_statement.compare(0, 6, "BEGIN ") == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user