Enhancement: \P with --pager not specified now uses PAGER if set

2001-02-04 Thread brobison
>Description: If one doesn't provide a default pager to the monitor using --pager, and gives the monitor a \P command with no pager specified, the default pager is set to stdout, even if the PAGER environment variable is set. To my thinking, a bare \P is the user sa

Fix for 3.23.32 "mysql --pager" segfault when PAGER is unset

2001-02-04 Thread brobison
>Description: The --pager option to the mysql monitor, if given no argument, doesn't check to see if the PAGER environment variable is set before copying it, permitting a read from address zero and subsequent segfault. >How-To-Repeat: grotum:/tmp$ mysql.orig --ver