support clickhouse as mysql federated server. fix code style

This commit is contained in:
Maksim Fedotov 2019-11-28 18:02:02 +03:00
parent 4844b9b230
commit 6f0f9f855a

View File

@ -287,8 +287,8 @@ void MySQLHandler::comQuery(ReadBuffer &payload)
if (isFederatedServerSetupCommand(query))
{
packet_sender->sendPacket(OK_Packet(0x00, client_capability_flags, 0, 0, 0), true);
}
else
}
else
{
bool with_output = false;
std::function<void(const String &)> set_content_type = [&with_output](const String &) -> void {