mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00: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);
|
log->log(exc);
|
||||||
packet_sender->sendPacket(ERR_Packet(exc.code(), "00000", exc.message()), true);
|
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)
|
catch (const Poco::Exception & exc)
|
||||||
|
Loading…
Reference in New Issue
Block a user