Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
10a36ca4
Commit
10a36ca4
authored
Nov 23, 2007
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply patch for BUG#30630
parent
a4414d54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+5
-4
No files found.
mysql-test/mysql-test-run.pl
View file @
10a36ca4
...
...
@@ -3790,10 +3790,11 @@ sub mysqld_arguments ($$$$) {
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
");
# 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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment