mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Minor typo fix for mysql-test-run.pl
This commit is contained in:
@ -3765,12 +3765,11 @@ sub mysqld_arguments ($$$$) {
|
|||||||
|
|
||||||
|
|
||||||
# When mysqld is run by a root user(euid is 0), it will fail
|
# 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
|
# to start unless we specify what user to run as, see BUG#30630
|
||||||
# as root it will be ignored, see BUG#30630
|
|
||||||
my $euid= $>;
|
my $euid= $>;
|
||||||
if (!$glob_win32 and $euid == 0 and
|
if (!$glob_win32 and $euid == 0 and
|
||||||
grep(/^--user/, @$extra_opt, @opt_extra_mysqld_opt) == 0) {
|
grep(/^--user/, @$extra_opt, @opt_extra_mysqld_opt) == 0) {
|
||||||
mtr_add_arg($args, "%s--user=root");
|
mtr_add_arg($args, "%s--user=root", $prefix);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $opt_valgrind_mysqld )
|
if ( $opt_valgrind_mysqld )
|
||||||
|
Reference in New Issue
Block a user