mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 19:31:59 +01:00
@@ -137,7 +137,9 @@ uint32 MySQLConnection::Open()
|
|||||||
// set connection properties to UTF8 to properly handle locales for different
|
// set connection properties to UTF8 to properly handle locales for different
|
||||||
// server configs - core sends data in UTF8, so MySQL must expect UTF8 too
|
// server configs - core sends data in UTF8, so MySQL must expect UTF8 too
|
||||||
mysql_set_character_set(m_Mysql, "utf8");
|
mysql_set_character_set(m_Mysql, "utf8");
|
||||||
return 0;
|
|
||||||
|
// Prepare statements only at reconnect
|
||||||
|
return m_reconnecting ? static_cast<uint32>(PrepareStatements()) : 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user