summaryrefslogtreecommitdiff
path: root/databases/mysql56-client/files/patch-client_mysql.cc
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql56-client/files/patch-client_mysql.cc')
-rw-r--r--databases/mysql56-client/files/patch-client_mysql.cc25
1 files changed, 0 insertions, 25 deletions
diff --git a/databases/mysql56-client/files/patch-client_mysql.cc b/databases/mysql56-client/files/patch-client_mysql.cc
deleted file mode 100644
index 5a03f22b249f..000000000000
--- a/databases/mysql56-client/files/patch-client_mysql.cc
+++ /dev/null
@@ -1,25 +0,0 @@
---- client/mysql.cc.orig 2016-09-30 11:41:40 UTC
-+++ client/mysql.cc
-@@ -2738,9 +2738,11 @@ static void initialize_readline (char *n
- #ifdef HAVE_LOCALE_H
- setlocale(LC_ALL,""); /* so as libedit use isprint */
- #endif
-- rl_attempted_completion_function= (CPPFunction*)&new_mysql_completion;
-- rl_completion_entry_function= &no_completion;
-+ rl_attempted_completion_function= (rl_completion_func_t*)&new_mysql_completion;
-+ rl_completion_entry_function= (rl_compentry_func_t*)&no_completion;
-+ /*
- rl_add_defun("magic-space", (Function*)&fake_magic_space, -1);
-+ */
- #else
- rl_attempted_completion_function= (CPPFunction*)&new_mysql_completion;
- rl_completion_entry_function= &no_completion;
-@@ -2759,7 +2761,7 @@ static char **new_mysql_completion(const
- int end MY_ATTRIBUTE((unused)))
- {
- if (!status.batch && !quick)
--#if defined(USE_NEW_READLINE_INTERFACE)
-+#if defined(USE_NEW_READLINE_INTERFACE) || defined(USE_LIBEDIT_INTERFACE)
- return rl_completion_matches(text, new_command_generator);
- #else
- return completion_matches((char *)text, (CPFunction *)new_command_generator);