diff options
author | Alexey Botchkov <holyfoot@mysql.com> | 2010-08-19 16:35:47 +0500 |
---|---|---|
committer | Alexey Botchkov <holyfoot@mysql.com> | 2010-08-19 16:35:47 +0500 |
commit | 2533ca9e6b0f12848b482f98445d7cc4aededa83 (patch) | |
tree | b3f826abcba94800e3ac61eb14deb0189d2b9a4b /client | |
parent | 02863b41804352f1371407ccdc9e1cb51b9e20e3 (diff) | |
download | mariadb-git-2533ca9e6b0f12848b482f98445d7cc4aededa83.tar.gz |
Bug#54466 client 5.5 built from source lacks "pager" support
#ifdef THREAD removed from mysql.cc.
No reason was found for this limitation to persist.
per-file comments:
client/mysql.cc
Bug#54466 client 5.5 built from source lacks "pager" support
now we have USE_POPEN always if not __WIN__
mysql-test/r/mysql.result
Bug#54466 client 5.5 built from source lacks "pager" support
result updated.
mysql-test/t/mysql.test
Bug#54466 client 5.5 built from source lacks "pager" support
test case added.
Diffstat (limited to 'client')
-rw-r--r-- | client/mysql.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 01a786c13af..b61a751198a 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -93,6 +93,7 @@ extern "C" { #else #include <readline/readline.h> #define HAVE_READLINE +#define USE_POPEN #endif //int vidattr(long unsigned int attrs); // Was missing in sun curses } @@ -108,10 +109,6 @@ extern "C" { #define cmp_database(cs,A,B) strcmp((A),(B)) #endif -#if !defined(__WIN__) && !defined(THREAD) -#define USE_POPEN -#endif - #include "completion_hash.h" #define PROMPT_CHAR '\\' |