mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Update MySQLOutputFormat.cpp
This commit is contained in:
parent
8333a09258
commit
dd0ad58dee
@ -25,7 +25,7 @@ void MySQLOutputFormat::setContext(ContextPtr context_)
|
||||
mysql_context = getContext()->getMySQLProtocolContext();
|
||||
if (!mysql_context)
|
||||
{
|
||||
/// But it's also possible to specify MySQLWire as output format for clickhouse-client ot clickhouse-local.
|
||||
/// But it's also possible to specify MySQLWire as output format for clickhouse-client or clickhouse-local.
|
||||
/// There is no MySQL protocol context in this case, so we create dummy one.
|
||||
own_mysql_context.emplace();
|
||||
mysql_context = &own_mysql_context.value();
|
||||
|
Loading…
Reference in New Issue
Block a user