Skip to content
Snippets Groups Projects
Commit c4497f73 authored by Steven Murray's avatar Steven Murray
Browse files

Applied bug from David Smith to SqliteStmt::startDeferredTransactionIfNecessary()

parent bef3609c
Branches
Tags
No related merge requests found
......@@ -287,7 +287,7 @@ void SqliteStmt::startDeferredTransactionIfNecessary(const AutocommitMode autoco
" AUTOCOMMIT_ON statement. Use commit() between the statements instead");
}
if(m_conn.m_transactionInProgress && !autocommit) {
if(!m_conn.m_transactionInProgress && !autocommit) {
beginDeferredTransaction();
m_conn.m_transactionInProgress = true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment