From 401c573da40fd2775efbaee8cd2a3cfbbc507b39 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Tue, 8 Jun 2010 10:15:34 -0400 Subject: [PATCH] try to fix old for old readline versions --- shell/dbshell.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/dbshell.cpp b/shell/dbshell.cpp index 224f362d077..1d92d973c30 100644 --- a/shell/dbshell.cpp +++ b/shell/dbshell.cpp @@ -80,7 +80,7 @@ static char** completionHook(const char* text , int start ,int end ){ if ( all.size() == 0 ){ #ifdef USE_READLINE - rl_bind_key('\t',rl_abort); + rl_bind_key('\t',0); #endif return 0; } @@ -119,7 +119,6 @@ void shellHistoryInit(){ using_history(); read_history( historyFile.c_str() ); - // TODO: do auto-completion rl_attempted_completion_function = completionHook; #else