From ae665f7ec32c5da3877b4acb0d0dd2534e9cdd06 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Sun, 30 May 2021 21:12:01 +0200 Subject: 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 --- src/server/database/Database/MySQLThreading.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/server/database/Database/MySQLThreading.cpp (limited to 'src/server/database/Database/MySQLThreading.cpp') 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 + * Copyright (C) 2008-2021 TrinityCore + */ + +#include "MySQLThreading.h" +#include "Log.h" +#include + +void MySQL::Library_Init() +{ + mysql_library_init(-1, nullptr, nullptr); +} + +void MySQL::Library_End() +{ + mysql_library_end(); +} + +uint32 MySQL::GetLibraryVersion() +{ + return MYSQL_VERSION_ID; +} -- cgit v1.2.3