about summary refs log tree commit diff
path: root/src/game/server/ranking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/server/ranking.cpp')
-rw-r--r--src/game/server/ranking.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/server/ranking.cpp b/src/game/server/ranking.cpp
index b5d88514..9ef6cd87 100644
--- a/src/game/server/ranking.cpp
+++ b/src/game/server/ranking.cpp
@@ -92,6 +92,10 @@ bool CRanking::Connect()
 	{
 		char aBuf[256];
 
+		m_pDriver = 0;
+		m_pConnection = 0;
+		m_pStatement = 0;
+
 		sql::ConnectOptionsMap connection_properties;
 		connection_properties["hostName"]      = sql::SQLString(m_pIp);
 		connection_properties["port"]          = m_Port;