diff options
author | unknown <df@pippilotta.erinye.com> | 2007-10-30 15:37:48 +0100 |
---|---|---|
committer | unknown <df@pippilotta.erinye.com> | 2007-10-30 15:37:48 +0100 |
commit | e3b246d6e8290f39daa367a2755a22ae3850c76a (patch) | |
tree | 22bb8ed6cb9bf7c62922df9e19379a66f0c03ea5 | |
parent | a2f5911b50f486d6ea3425973574f9ae03aa60d5 (diff) | |
parent | b0bc908cbfd15a08a093b4df6e42375a7bb68484 (diff) | |
download | mariadb-git-e3b246d6e8290f39daa367a2755a22ae3850c76a.tar.gz |
Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.0-build
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 1ec91d200a5..799a37220cc 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -3715,6 +3715,13 @@ sub mysqld_arguments ($$$$) { # see BUG#28359 mtr_add_arg($args, "%s--connect-timeout=60", $prefix); + # When mysqld is run by a root user(euid is 0), it will fail + # to start unless we specify what user to run as. If not running + # as root it will be ignored, see BUG#30630 + if (!(grep(/^--user/, @$extra_opt, @opt_extra_mysqld_opt))) { + mtr_add_arg($args, "%s--user=root"); + } + if ( $opt_valgrind_mysqld ) { mtr_add_arg($args, "%s--skip-safemalloc", $prefix); |