Partial revert of "Core/DB Layer: Fix a memory leak.", mysql library related stuff. Original memory leak fix is still in place.

This commit is contained in:
Machiavelli
2012-03-26 13:33:47 +02:00
parent 70ee37f3b4
commit e960016dc4
5 changed files with 7 additions and 11 deletions

View File

@@ -68,13 +68,9 @@ MySQLConnection::~MySQLConnection()
}
mysql_close(m_Mysql);
MySQL::Thread_End();
Unlock(); /// Unlock while we die, how ironic
}
//! Can be called synchronously in DatabaseWorkerPool, in which thread-specific variables initialized in the main thread
//! are deallocated.
//! Can also be called by worker threads, in which their respective thread-specific variables are deallocated.
void MySQLConnection::Close()
{
/// Only close us if we're not operating