mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix disable_suggestion argument for clickhouse-local
This commit is contained in:
parent
fecf7f3d08
commit
39049251b7
@ -518,22 +518,17 @@ void LocalServer::processConfig()
|
||||
|
||||
if (config().has("multiquery"))
|
||||
is_multiquery = true;
|
||||
|
||||
load_suggestions = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (delayed_interactive)
|
||||
{
|
||||
load_suggestions = true;
|
||||
}
|
||||
|
||||
need_render_progress = config().getBool("progress", false);
|
||||
echo_queries = config().hasOption("echo") || config().hasOption("verbose");
|
||||
ignore_error = config().getBool("ignore-error", false);
|
||||
is_multiquery = true;
|
||||
}
|
||||
|
||||
print_stack_trace = config().getBool("stacktrace", false);
|
||||
load_suggestions = (is_interactive || delayed_interactive) && !config().getBool("disable_suggestion", false);
|
||||
|
||||
auto logging = (config().has("logger.console")
|
||||
|| config().has("logger.level")
|
||||
|
Loading…
Reference in New Issue
Block a user