diff --git a/shell/dbshell.cpp b/shell/dbshell.cpp index 5984c70537f..08c9bc87a66 100644 --- a/shell/dbshell.cpp +++ b/shell/dbshell.cpp @@ -80,7 +80,9 @@ static char** completionHook(const char* text , int start ,int end ){ } if ( all.size() == 0 ){ +#ifdef USE_READLINE rl_bind_key('\t',rl_abort); +#endif return 0; }