BUG: --disable-pager doesn"t work
am 07.10.2002 23:25:17 von Paul DuBoisThis is true for both 4.0 and 4.1
mysql --help now says:
--no-pager Disable pager and print to stdout. See interactive help
(\h) also. WARNING: option deprecated; use
--disable-pager instead.
However, either --disable-pager or --skip-pager result in an error
as soon as you issue a query:
mysql> show tables;
sh: 0: command not found
The reason appears to be that the pager has been set to "0":
mysql> \s
--------------
mysql Ver 12.14 Distrib 4.0.5-beta, for apple-darwin5.5 (powerpc)
Connection id: 119
Current database:
Current user: paul@localhost
SSL: Not in use
Current pager: 0
Using outfile: ''
Server version: 4.0.5-beta-log
Protocol version: 10
Connection: Localhost via UNIX socket
Client characterset: latin1
Server characterset: latin1
UNIX socket: /usr/local/mysql/mysql.sock
Uptime: 3 days 19 hours 43 min 27 sec
Normally with no pager, "Current pager" has a value of ''.
How-to-repeat:
Invoke mysql with either --disable-pager or --skip-pager.
Then issue a query.
Note that similar language is displayed in the help for --no-tee:
--no-tee Disable outfile. See interactive help (\h) also. WARNING:
option deprecated; use --disable-tee instead
Perhaps it has a problem as well.
------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail bugs-thread12662@lists.mysql.com
To unsubscribe, e-mail