mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 01:59:09 +00:00
chore(Core/Shared): little cleanup (#18385)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user