summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorunknown <tsmith@ramayana.hindu.god>2008-02-05 23:16:52 -0700
committerunknown <tsmith@ramayana.hindu.god>2008-02-05 23:16:52 -0700
commit40f2a6ae99221c329bdbe098474a01c4ad5860c7 (patch)
treede95aed6a396e2d40f58b06af080d2bb0a977f67 /mysql-test/mysql-test-run.pl
parent8456c5ffa314177b356131be3913d51df0a14dd9 (diff)
downloadmariadb-git-40f2a6ae99221c329bdbe098474a01c4ad5860c7.tar.gz
Minor typo fix for mysql-test-run.pl
mysql-test/mysql-test-run.pl: Fix typo (missing $prefix arg to mtr_add_arg(--user=root))
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 29c5648090c..7c4677b8274 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -3765,12 +3765,11 @@ sub mysqld_arguments ($$$$) {
# 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
+ # to start unless we specify what user to run as, see BUG#30630
my $euid= $>;
if (!$glob_win32 and $euid == 0 and
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 )