Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/client/mysql.cc b/client/mysql.cc
index bf54e1c..3b6f00e 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -1102,12 +1102,12 @@ static const char *embedded_server_groups[]=
HIST_ENTRY is defined for libedit, but not for the real readline
Need to redefine it for real readline to find it
*/
-#if !defined(HAVE_HIST_ENTRY)
+/* #if !defined(HAVE_HIST_ENTRY)
typedef struct _hist_entry {
const char *line;
const char *data;
} HIST_ENTRY;
-#endif
+#endif */
static int not_in_history(const char *line);
static void initialize_readline (char *name);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment