mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Write through Poco::Exception exception to MySQL protocol client
This commit is contained in:
parent
8d7e418617
commit
64fdce9398
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user