mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Turn off autocompletion if no readline library
This commit is contained in:
parent
f99433e09c
commit
ec10e58df2
@ -522,11 +522,10 @@ private:
|
||||
#if USE_READLINE
|
||||
rl_attempted_completion_function = query_parts_completion;
|
||||
std::thread tS([=] {init_suggestions(completionNode);});
|
||||
#endif
|
||||
|
||||
#else
|
||||
/// Turn tab completion off.
|
||||
// rl_bind_key('\t', rl_insert);
|
||||
|
||||
rl_bind_key('\t', rl_insert);
|
||||
#endif
|
||||
/// Load command history if present.
|
||||
if (config().has("history_file"))
|
||||
history_file = config().getString("history_file");
|
||||
|
Loading…
Reference in New Issue
Block a user