mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11049] Fix mangos and SD2 compilation after commits [11045] and [11047].
Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
parent
0941a3f851
commit
4ddedf0804
7 changed files with 15 additions and 5 deletions
|
|
@ -84,6 +84,11 @@ SqlConnection * DatabaseMysql::CreateConnection()
|
|||
return new MySQLConnection();
|
||||
}
|
||||
|
||||
MySQLConnection::~MySQLConnection()
|
||||
{
|
||||
mysql_close(mMysql);
|
||||
}
|
||||
|
||||
bool MySQLConnection::Initialize(const char *infoString)
|
||||
{
|
||||
MYSQL * mysqlInit = mysql_init(NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue