From 30fd6b274b1bd9d1939c3c71ed97e03431710f46 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sat, 17 Jun 2017 22:08:59 +0300 Subject: [PATCH] Enable autocommit by default in mysql connections. To avoid further confusions. --- modules/mysql/Account.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mysql/Account.cpp b/modules/mysql/Account.cpp index c62d5a08..d670db79 100644 --- a/modules/mysql/Account.cpp +++ b/modules/mysql/Account.cpp @@ -34,7 +34,7 @@ Account::Account(CSStr host, CSStr user, CSStr pass, CSStr name, SQInteger port, , m_SSL_CA_Path() , m_SSL_Cipher() , m_Options() - , m_AutoCommit(false) + , m_AutoCommit(true) { // Validate the specified port number if (port >= 0xFFFF)