chore(Core/Shared): little cleanup (#18385)
This commit is contained in:
parent
27da4554cf
commit
2a2cc3c22f
10 changed files with 25 additions and 37 deletions
|
|
@ -39,7 +39,7 @@ char* DBCDatabaseLoader::Load(uint32& records, char**& indexTable)
|
|||
std::string query = Acore::StringFormat("SELECT * FROM `%s` ORDER BY `ID` DESC", _sqlTableName);
|
||||
|
||||
// no error if empty set
|
||||
QueryResult result = WorldDatabase.Query(query.c_str());
|
||||
QueryResult result = WorldDatabase.Query(query);
|
||||
if (!result)
|
||||
return nullptr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue