summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <mkindahl@dl145h.mysql.com>2008-02-06 06:18:06 +0100
committerunknown <mkindahl@dl145h.mysql.com>2008-02-06 06:18:06 +0100
commit6cb9dfed6fb711b550c91f66609f4a34fa74cf78 (patch)
treecaab1b071f706ed029e6f252c5a31838734950a5 /mysql-test
parentdf2cf8c78dc022472dd22584a140f579ad8cfe03 (diff)
downloadmariadb-git-6cb9dfed6fb711b550c91f66609f4a34fa74cf78.tar.gz
Removing duplicate code from mysql-test-run.pl
mysql-test/mysql-test-run.pl: Removing duplicate code.
Diffstat (limited to 'mysql-test')
-rwxr-xr-xmysql-test/mysql-test-run.pl8
1 files changed, 0 insertions, 8 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 536cb873b9a..89b4073ca87 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -3870,14 +3870,6 @@ sub mysqld_arguments ($$$$) {
mtr_add_arg($args, "%s--user=root");
}
- # When mysqld is run by a root user(euid is 0), it will fail
- # 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", $prefix);
- }
-
if ( $opt_valgrind_mysqld )
{
mtr_add_arg($args, "%s--skip-safemalloc", $prefix);