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
a13d1b2f
Commit
a13d1b2f
authored
Nov 29, 2002
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- removed unused variable $defaults
- parse mysql.server section in my.cnf as well
parent
665554d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
support-files/mysql.server.sh
support-files/mysql.server.sh
+3
-2
No files found.
support-files/mysql.server.sh
View file @
a13d1b2f
...
@@ -79,7 +79,8 @@ parse_arguments() {
...
@@ -79,7 +79,8 @@ parse_arguments() {
done
done
}
}
# Get arguments from the my.cnf file, groups [mysqld] and [mysql_server]
# Get arguments from the my.cnf file,
# groups [mysqld] [mysql_server] and [mysql.server]
if
test
-x
./bin/my_print_defaults
if
test
-x
./bin/my_print_defaults
then
then
print_defaults
=
"./bin/my_print_defaults"
print_defaults
=
"./bin/my_print_defaults"
...
@@ -117,7 +118,7 @@ else
...
@@ -117,7 +118,7 @@ else
test
-z
"
$print_defaults
"
&&
print_defaults
=
"my_print_defaults"
test
-z
"
$print_defaults
"
&&
print_defaults
=
"my_print_defaults"
fi
fi
parse_arguments
`
$print_defaults
$defaults
mysqld mysql_
server
`
parse_arguments
`
$print_defaults
mysqld mysql_server mysql.
server
`
# Safeguard (relative paths, core dumps..)
# Safeguard (relative paths, core dumps..)
cd
$basedir
cd
$basedir
...
...
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