summaryrefslogtreecommitdiff
path: root/client/mysql.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-02-10 16:26:18 +0200
committerGeorgi Kodinov <joro@sun.com>2009-02-10 16:26:18 +0200
commit29f898bb64349f46bde6c61badaf47bccd1183c1 (patch)
treef9108e587b2ac0b9dfd93033e9da1dabda493155 /client/mysql.cc
parent46f91045f8e87434f84b2b268f29f54adcb344eb (diff)
parentfab053ccf84ccb537999615da8f962d03ef5da76 (diff)
downloadmariadb-git-29f898bb64349f46bde6c61badaf47bccd1183c1.tar.gz
merged 5.0-bugteam -> 5.1-bugteam
Diffstat (limited to 'client/mysql.cc')
-rw-r--r--client/mysql.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index be157f52d08..65512e695b8 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -2270,8 +2270,10 @@ extern "C" char **new_mysql_completion (const char *text, int start, int end);
if not.
*/
-#if defined(USE_NEW_READLINE_INTERFACE) || defined(USE_LIBEDIT_INTERFACE)
+#if defined(USE_NEW_READLINE_INTERFACE)
extern "C" char *no_completion(const char*,int)
+#elif defined(USE_LIBEDIT_INTERFACE)
+extern "C" int no_completion(const char*,int)
#else
extern "C" char *no_completion()
#endif