Commit 1d46c117 authored by Ronan's avatar Ronan

fix(SmartTransaction): log commit only after soci commit

parent 5542d4e0
......@@ -47,9 +47,9 @@ public:
}
void commit () {
mTransaction.commit();
mIsCommitted = true;
lInfo() << "Commit transaction " << this << " in MainDb::" << mName << ".";
mTransaction.commit();
}
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment