mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[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:
parent
f7a45e9e9a
commit
fce48282ad
3 changed files with 7 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue