Fix a stupid mistake in commit 0f6946c19d.
Apparently I wasn't able to count to 6.
This commit is contained in:
Martin Kleusberg
2019-02-27 11:57:38 +01:00
parent ff455c7038
commit fcdcfbdc79

View File

@@ -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)
{