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 committed 2012-03-26 13:33:47 +02:00
1 parent 70ee37f3b4
commit e960016dc4
5 files changed
+7 -11

No files matched your search

+2
View File
@@ -246,6 +246,8 @@ extern int main(int argc, char **argv)
// Initialize connection to the database
bool StartDB()
{
MySQL::Library_Init();
std::string dbstring = ConfigMgr::GetStringDefault("LoginDatabaseInfo", "");
if (dbstring.empty())
{