mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 01:59:09 +00:00
feat(Core/Command): server debug (#6007)
* initial work * fix query * load * clean up * remove from startup * ACE * remove static * Update MySQLThreading.cpp * not used * Update MySQLThreading.cpp * unit testing * Update WorldMock.h * show Boost ver * Update WorldMock.h * include * Now we have boost::filesystem woo * fix build * fix typo
This commit is contained in:
23
src/server/database/Database/MySQLThreading.cpp
Normal file
23
src/server/database/Database/MySQLThreading.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>
|
||||
* Copyright (C) 2008-2021 TrinityCore <http://www.trinitycore.org/>
|
||||
*/
|
||||
|
||||
#include "MySQLThreading.h"
|
||||
#include "Log.h"
|
||||
#include <mysql.h>
|
||||
|
||||
void MySQL::Library_Init()
|
||||
{
|
||||
mysql_library_init(-1, nullptr, nullptr);
|
||||
}
|
||||
|
||||
void MySQL::Library_End()
|
||||
{
|
||||
mysql_library_end();
|
||||
}
|
||||
|
||||
uint32 MySQL::GetLibraryVersion()
|
||||
{
|
||||
return MYSQL_VERSION_ID;
|
||||
}
|
||||
Reference in New Issue
Block a user