diff options
author | unknown <monty@work.mysql.com> | 2001-04-19 00:58:30 +0200 |
---|---|---|
committer | unknown <monty@work.mysql.com> | 2001-04-19 00:58:30 +0200 |
commit | 7337a193b1bb590c127daa9d92839e476e9b219f (patch) | |
tree | 7492d30d693c0862c24d2824ac91384a71a3c5e9 /client/mysql.cc | |
parent | c778d3374cdaa5760ce41d9febe070266055a6f0 (diff) | |
parent | 09518126f1d05214b2e6518825d819cc86138f1f (diff) | |
download | mariadb-git-7337a193b1bb590c127daa9d92839e476e9b219f.tar.gz |
Merge
BitKeeper/etc/logging_ok:
auto-union
configure.in:
Auto merged
client/mysql.cc:
Auto merged
client/mysqltest.c:
Auto merged
mysql-test/mysql-test-run.sh:
Auto merged
sql/sql_select.cc:
Auto merged
Docs/manual.texi:
SCCS merged
sql/Makefile.am:
SCCS merged
Diffstat (limited to 'client/mysql.cc')
-rw-r--r-- | client/mysql.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index b8001b9ee09..1c8e8485c01 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -41,7 +41,7 @@ #include "my_readline.h" #include <signal.h> -const char *VER="11.14"; +const char *VER="11.15"; /* Don't try to make a nice table if the data is too big */ #define MAX_COLUMN_LENGTH 1024 @@ -280,6 +280,11 @@ int main(int argc,char *argv[]) strmov(outfile, "\0"); // no (default) outfile, unless given at least once strmov(pager, "stdout"); // the default, if --pager wasn't given + { + char *tmp=getenv("PAGER"); + if (tmp) + strmov(default_pager,tmp); + } if (!isatty(0) || !isatty(1)) { status.batch=1; opt_silent=1; |