Skip to content

Instantly share code, notes, and snippets.

@dveeden
Created February 11, 2016 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dveeden/d0da92da20452f118f41 to your computer and use it in GitHub Desktop.
Save dveeden/d0da92da20452f118f41 to your computer and use it in GitHub Desktop.
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