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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
1bfcb4fd
Commit
1bfcb4fd
authored
Jun 10, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/my/mysql-4.0
parents
d53318d4
94d33b9c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
scripts/mysqld_safe.sh
scripts/mysqld_safe.sh
+1
-7
sql/mysqld.cc
sql/mysqld.cc
+1
-1
No files found.
scripts/mysqld_safe.sh
View file @
1bfcb4fd
...
...
@@ -43,13 +43,7 @@ parse_arguments() {
--basedir
=
*
)
MY_BASEDIR_VERSION
=
`
echo
"
$arg
"
|
sed
-e
"s;--basedir=;;"
`
;;
--datadir
=
*
)
DATADIR
=
`
echo
"
$arg
"
|
sed
-e
"s;--datadir=;;"
`
;;
--pid-file
=
*
)
pid_file
=
`
echo
"
$arg
"
|
sed
-e
"s;--pid-file=;;"
`
;;
--user
=
*
)
if
test
$SET_USER
-eq
0
then
user
=
`
echo
"
$arg
"
|
sed
-e
"s;--[^=]*=;;"
`
fi
SET_USER
=
1
;;
--user
=
*
)
user
=
`
echo
"
$arg
"
|
sed
-e
"s;--[^=]*=;;"
`
;
SET_USER
=
1
;;
# these two might have been set in a [mysqld_safe] section of my.cnf
# they are added to mysqld command line to override settings from my.cnf
...
...
sql/mysqld.cc
View file @
1bfcb4fd
...
...
@@ -4624,7 +4624,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
mysql_data_home
=
mysql_real_data_home
;
break
;
case
'u'
:
if
(
!
mysqld_user
)
if
(
!
mysqld_user
||
!
strcmp
(
mysqld_user
,
argument
)
)
mysqld_user
=
argument
;
else
fprintf
(
stderr
,
"Warning: Ignoring user change to '%s' because the user was set to '%s' earlier on the command line
\n
"
,
argument
,
mysqld_user
);
...
...
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