mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 19:51:29 +00:00
Remove Duplicative MySQL Error: Error getting npc faction info from database: %s, %s
This commit is contained in:
parent
e726c7356a
commit
beeba6c8be
@ -1086,7 +1086,6 @@ void SharedDatabase::GetFactionListInfo(uint32 &list_count, uint32 &max_lists) {
|
|||||||
const std::string query = "SELECT COUNT(*), MAX(id) FROM npc_faction";
|
const std::string query = "SELECT COUNT(*), MAX(id) FROM npc_faction";
|
||||||
auto results = QueryDatabase(query);
|
auto results = QueryDatabase(query);
|
||||||
if (!results.Success()) {
|
if (!results.Success()) {
|
||||||
Log.Out(Logs::General, Logs::Error, "Error getting npc faction info from database: %s, %s", query.c_str(), results.ErrorMessage().c_str());
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user