]>
Commit | Line | Data |
---|---|---|
96b6cbc2 AO |
1 | --- Percona-Server-5.6.15-rel63.0/client/mysql.cc.orig 2014-02-09 06:23:16.085128298 +0100 |
2 | +++ Percona-Server-5.6.15-rel63.0/client/mysql.cc 2014-02-09 06:38:54.561791068 +0100 | |
3 | @@ -103,7 +103,9 @@ | |
4 | #include <conio.h> | |
5 | #else | |
6 | #include <readline.h> | |
7 | +#include <history.h> | |
8 | #define HAVE_READLINE | |
9 | +#define USE_NEW_READLINE_INTERFACE | |
10 | #define USE_POPEN | |
11 | #endif | |
12 | //int vidattr(long unsigned int attrs); // Was missing in sun curses | |
13 | @@ -1107,7 +1109,7 @@ | |
14 | } HIST_ENTRY; | |
15 | #endif | |
16 | ||
17 | -extern "C" int add_history(const char *command); /* From readline directory */ | |
18 | +extern "C" void add_history(const char *command); /* From readline directory */ | |
19 | extern "C" int read_history(const char *command); | |
20 | extern "C" int write_history(const char *command); | |
21 | extern "C" HIST_ENTRY *history_get(int num); |