summaryrefslogtreecommitdiff
path: root/src/server/database/Database/MySQLThreading.cpp
blob: 5d70ee4f8d5cbc7d459604295b8d750eddecfff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
}