mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-20 15:01:38 -04:00
*Properly initialize members to prevent DB logging before the DB is started. Fixes a rarely seen startup crash.
*Code cleanup. --HG-- branch : trunk
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
|
||||
size_t Database::db_count = 0;
|
||||
|
||||
Database::Database()
|
||||
Database::Database() : mMysql(NULL)
|
||||
{
|
||||
// before first connection
|
||||
if (db_count++ == 0)
|
||||
|
||||
Reference in New Issue
Block a user