From e99f90dad0f28c5a67c87dc6d397d0ee807cf945 Mon Sep 17 00:00:00 2001 From: dwight Date: Mon, 7 Jun 2010 18:40:37 -0400 Subject: [PATCH] compile w/out readline shell --- shell/dbshell.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; }