aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/MySQLConnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/shared/Database/MySQLConnection.cpp')
-rwxr-xr-xsrc/server/shared/Database/MySQLConnection.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/shared/Database/MySQLConnection.cpp b/src/server/shared/Database/MySQLConnection.cpp
index 94244407c26..20c614b5333 100755
--- a/src/server/shared/Database/MySQLConnection.cpp
+++ b/src/server/shared/Database/MySQLConnection.cpp
@@ -155,7 +155,7 @@ bool MySQLConnection::Execute(const char* sql)
return false;
{
- uint32 _s;
+ uint32 _s = 0;
if (sLog.GetSQLDriverQueryLogging())
_s = getMSTime();
@@ -191,7 +191,7 @@ bool MySQLConnection::Execute(PreparedStatement* stmt)
MYSQL_STMT* msql_STMT = m_mStmt->GetSTMT();
MYSQL_BIND* msql_BIND = m_mStmt->GetBind();
- uint32 _s;
+ uint32 _s = 0;
if (sLog.GetSQLDriverQueryLogging())
_s = getMSTime();
@@ -237,7 +237,7 @@ bool MySQLConnection::_Query(PreparedStatement* stmt, MYSQL_RES **pResult, uint6
MYSQL_STMT* msql_STMT = m_mStmt->GetSTMT();
MYSQL_BIND* msql_BIND = m_mStmt->GetBind();
- uint32 _s;
+ uint32 _s = 0;
if (sLog.GetSQLDriverQueryLogging())
_s = getMSTime();
@@ -294,7 +294,7 @@ bool MySQLConnection::_Query(const char *sql, MYSQL_RES **pResult, MYSQL_FIELD *
return false;
{
- uint32 _s;
+ uint32 _s = 0;
if (sLog.GetSQLDriverQueryLogging())
_s = getMSTime();