mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-30 15:01:29 +00:00
Remove Duplicative MySQL Error:
This commit is contained in:
parent
ef312b7b48
commit
c82ada6dc4
@ -3853,7 +3853,6 @@ void Client::KeyRingAdd(uint32 item_id)
|
||||
std::string query = StringFormat("INSERT INTO keyring(char_id, item_id) VALUES(%i, %i)", character_id, item_id);
|
||||
auto results = database.QueryDatabase(query);
|
||||
if (!results.Success()) {
|
||||
std::cerr << "Error in Doors::HandleClick query '" << query << "' " << results.ErrorMessage() << std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@ -10130,7 +10130,6 @@ void command_mysql(Client *c, const Seperator *sep)
|
||||
std::replace(query.begin(), query.end(), '#', '%');
|
||||
auto results = database.QueryDatabase(query);
|
||||
if (!results.Success()) {
|
||||
c->Message(0, "Invalid query: '%s', '%s'", sep->arg[2], results.ErrorMessage().c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user