Write through Poco::Exception exception to MySQL protocol client

This commit is contained in:
BohuTANG 2020-07-10 12:54:08 +08:00
parent 8d7e418617
commit 64fdce9398

View File

@ -169,6 +169,11 @@ void MySQLHandler::run()
log->log(exc);
packet_sender->sendPacket(ERR_Packet(exc.code(), "00000", exc.message()), true);
}
catch (const Poco::Exception & exc)
{
log->log(exc);
packet_sender->sendPacket(ERR_Packet(exc.code(), "00000", exc.message()), true);
}
}
}
catch (const Poco::Exception & exc)