diff options
author | Axel Cocat <ax.cocat@gmail.com> | 2023-01-15 17:02:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-15 11:02:43 -0500 |
commit | 07ac386e61bd07628ed1ed247069401fe08c0a76 (patch) | |
tree | bbffe2f4299230242f411065be3275982322e1a7 /src/server/database/Database/MySQLConnection.cpp | |
parent | e9b040e3d23b508871b3380185ce27cc4dae361d (diff) |
feat(Core/Database): move MySQL handle and HandleMySQLErrno to protected (#14673)
* feat(Core/Database): move MySQL handle and HandleMySQLErrno to protected
* fix: initialization order
Diffstat (limited to 'src/server/database/Database/MySQLConnection.cpp')
-rw-r--r-- | src/server/database/Database/MySQLConnection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/database/Database/MySQLConnection.cpp b/src/server/database/Database/MySQLConnection.cpp index b07f0d36cd..93ab2833cb 100644 --- a/src/server/database/Database/MySQLConnection.cpp +++ b/src/server/database/Database/MySQLConnection.cpp @@ -51,16 +51,16 @@ MySQLConnectionInfo::MySQLConnectionInfo(std::string_view infoString) MySQLConnection::MySQLConnection(MySQLConnectionInfo& connInfo) : m_reconnecting(false), m_prepareError(false), - m_queue(nullptr), m_Mysql(nullptr), + m_queue(nullptr), m_connectionInfo(connInfo), m_connectionFlags(CONNECTION_SYNCH) { } MySQLConnection::MySQLConnection(ProducerConsumerQueue<SQLOperation*>* queue, MySQLConnectionInfo& connInfo) : m_reconnecting(false), m_prepareError(false), - m_queue(queue), m_Mysql(nullptr), + m_queue(queue), m_connectionInfo(connInfo), m_connectionFlags(CONNECTION_ASYNC) { |