From fbd4378b85b2420d4741784cc5990ddd4d6203ef Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 10 Nov 2006 13:25:10 +0100 Subject: Bug#10608 mysqladmin breaks on "database" variable in my.cnf - Add printout of "Warning" or "Note" for non error messages in default_reporter - Add test for the above in new mysqladmin.test mysql-test/mysql-test-run.pl: Add support for mysqladmin to mysql-test-run.pl mysys/my_getopt.c: Add printout of Warning: or Info: in 'default_reporter', this will make the user aware of the problem but can filter it as a warning or note. mysql-test/r/mysqladmin.result: New BitKeeper file ``mysql-test/r/mysqladmin.result'' mysql-test/t/mysqladmin.test: New BitKeeper file ``mysql-test/t/mysqladmin.test'' --- mysql-test/mysql-test-run.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mysql-test/mysql-test-run.pl') diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index d788140dd4a..fe125d1e126 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -1818,6 +1818,10 @@ sub environment_setup () { # ---------------------------------------------------- $ENV{'MYSQL_MY_PRINT_DEFAULTS'}= $exe_my_print_defaults; + # ---------------------------------------------------- + # Setup env so childs can execute mysqladmin + # ---------------------------------------------------- + $ENV{'MYSQLADMIN'}= $exe_mysqladmin; # ---------------------------------------------------- # Setup env so childs can execute perror -- cgit v1.2.1