Properly end mysql connections and libraries on exit.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-08-19 15:47:29 +02:00
parent 7bac588be2
commit 7d915911f9
2 changed files with 3 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ m_Mysql(NULL)
MySQLConnection::~MySQLConnection()
{
mysql_close(m_Mysql);
}
bool MySQLConnection::Open(const std::string& infoString)