mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Disable syntax suggestions in clickhouse-local
This commit is contained in:
parent
5233adecb0
commit
d30137b1b6
@ -586,8 +586,7 @@ void LocalServer::processConfig()
|
||||
|
||||
print_stack_trace = config().getBool("stacktrace", false);
|
||||
const std::string clickhouse_dialect{"clickhouse"};
|
||||
load_suggestions = (is_interactive || delayed_interactive) && !config().getBool("disable_suggestion", false)
|
||||
&& config().getString("dialect", clickhouse_dialect) == clickhouse_dialect;
|
||||
load_suggestions = false;
|
||||
|
||||
auto logging = (config().has("logger.console")
|
||||
|| config().has("logger.level")
|
||||
|
Loading…
Reference in New Issue
Block a user