Update database.cpp
- Fixed a filter on the sql_updates file we are using to track inserts/updates, filtered `guilds` instead of guilds
This commit is contained in:
parent
c6f25737e8
commit
04f291f5db
1 changed files with 2 additions and 2 deletions
|
@ -214,10 +214,10 @@ MYSQL_RES* Query::RunQuery2(string in_query, QUERY_TYPE type){
|
|||
}
|
||||
query = in_query;
|
||||
|
||||
#ifdef WORLD && _DEBUG
|
||||
#if defined WORLD && defined _DEBUG
|
||||
if (type == Q_UPDATE || type == Q_INSERT || type == Q_DELETE || type == Q_REPLACE)
|
||||
{
|
||||
char* filteredTables[] = { " characters", " character_", " statistics", " variables", " guilds" };
|
||||
char* filteredTables[] = { " characters", " character_", " statistics", " variables", "`guilds`" };
|
||||
|
||||
bool match = false;
|
||||
for (int i = 0; i < sizeof(filteredTables) / sizeof(filteredTables[0]); i++)
|
||||
|
|
Loading…
Add table
Reference in a new issue