mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-19 20:41:33 +00:00
Remove Duplicative MySQL Error: Error deleting grid '%s': '%s'
This commit is contained in:
parent
c4ebfa8890
commit
430263de9c
@ -1166,7 +1166,6 @@ void ZoneDatabase::ModifyGrid(Client *client, bool remove, uint32 id, uint8 type
|
|||||||
std::string query = StringFormat("DELETE FROM grid where id=%i", id);
|
std::string query = StringFormat("DELETE FROM grid where id=%i", id);
|
||||||
auto results = QueryDatabase(query);
|
auto results = QueryDatabase(query);
|
||||||
if (!results.Success())
|
if (!results.Success())
|
||||||
Log.Out(Logs::General, Logs::Error, "Error deleting grid '%s': '%s'", query.c_str(), results.ErrorMessage().c_str());
|
|
||||||
else if(client)
|
else if(client)
|
||||||
client->LogSQL(query.c_str());
|
client->LogSQL(query.c_str());
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user