[11061] Bring 'autocommit' mode for MySQL back. This MySQL feature operates in so frustrating way so it is better to keep it ALWAYS ENABLED!!!

Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
Ambal 2011-01-21 23:45:54 +02:00
parent f7a45e9e9a
commit fce48282ad
3 changed files with 7 additions and 10 deletions

View file

@ -283,10 +283,7 @@ bool Database::Execute(const char *sql)
return DirectExecute(sql);
// Simple sql statement
pTrans = new SqlTransaction;
pTrans->DelayExecute(sql);
m_threadBody->Delay(pTrans);
m_threadBody->Delay(new SqlStatement(sql));
}
return true;