mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-08 01:42:26 +00:00
Remove Duplicative MySQL Error: Error in Mount query '%s': %s
This commit is contained in:
parent
de0de39e08
commit
be37525414
@ -73,7 +73,6 @@ const NPCType *Horse::BuildHorseType(uint16 spell_id) {
|
|||||||
std::string query = StringFormat("SELECT race, gender, texture, mountspeed FROM horses WHERE filename = '%s'", fileName);
|
std::string query = StringFormat("SELECT race, gender, texture, mountspeed FROM horses WHERE filename = '%s'", fileName);
|
||||||
auto results = database.QueryDatabase(query);
|
auto results = database.QueryDatabase(query);
|
||||||
if (!results.Success()) {
|
if (!results.Success()) {
|
||||||
Log.Out(Logs::General, Logs::Error, "Error in Mount query '%s': %s", query.c_str(), results.ErrorMessage().c_str());
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user