aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/MySQLConnection.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-11-22 10:10:46 +0100
committerSpp <none@none>2010-11-22 10:10:46 +0100
commit6b5ff1ca25b2397b117f304e7acf79e6130dd3c2 (patch)
tree0d196fafb87128fcaa9444d0eb4d98d8fd4a00f9 /src/server/shared/Database/MySQLConnection.cpp
parentea9e88a48cb4c61755248e5ac4aa9d3dad6f2079 (diff)
Core: Fix some warnings
--HG-- branch : trunk
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();