diff options
author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2021-05-30 21:12:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-30 21:12:01 +0200 |
commit | ae665f7ec32c5da3877b4acb0d0dd2534e9cdd06 (patch) | |
tree | 4354987c0cf316e701cedbd83e805d1c773c3dd6 /src/server/database/Database/MySQLThreading.cpp | |
parent | e93159b408f2ce2162b98c9a631fa7b932a97593 (diff) |
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
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; +} |