mirror of
https://github.com/mangosfour/server.git
synced 2026-01-02 01:37:05 +00:00
Make Mangos Four compatible with newer MySQL. Based by work by @leprasmurf
* Delimite SQL queries for MySQL 8 compatibility * Fix database name for PlayerDump
This commit is contained in:
parent
96e645a61d
commit
fbdc248ed1
57 changed files with 1017 additions and 972 deletions
|
|
@ -852,7 +852,7 @@ ChatCommand* ChatHandler::getCommandTable()
|
|||
// check hardcoded part integrity
|
||||
CheckIntegrity(commandTable, NULL);
|
||||
|
||||
QueryResult* result = WorldDatabase.Query("SELECT name,security,help FROM command");
|
||||
QueryResult* result = WorldDatabase.Query("SELECT `name`,`security`,`help` FROM `command`");
|
||||
if (result)
|
||||
{
|
||||
do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue