Core/DBLayer: Support using mysql 8

This commit is contained in:
Shauren authored and Ovahlord committed 2020-04-15 10:19:24 +02:00
1 parent 26e5823913
commit 5653d4e2de
24 files changed
+510 -378

No files matched your search

@@ -16,10 +16,7 @@
*/
#include "MySQLThreading.h"
#ifdef _WIN32 // hack for broken mysql.h not including the correct winsock header for SOCKET definition, fixed in 5.7
#include <winsock2.h>
#endif
#include <mysql.h>
#include "MySQLWorkaround.h"
void MySQL::Library_Init()
{
@@ -30,3 +27,8 @@ void MySQL::Library_End()
{
mysql_library_end();
}
char const* MySQL::GetLibraryVersion()
{
return MYSQL_SERVER_VERSION;
}