diff options
Diffstat (limited to 'src/server/database/Database/MySQLThreading.cpp')
-rw-r--r-- | src/server/database/Database/MySQLThreading.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/server/database/Database/MySQLThreading.cpp b/src/server/database/Database/MySQLThreading.cpp new file mode 100644 index 0000000000..5d70ee4f8d --- /dev/null +++ b/src/server/database/Database/MySQLThreading.cpp @@ -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; +} |