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
2c95b977
Commit
2c95b977
authored
Jul 26, 2007
by
jperkin@production.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply a few more cleanups to improve the robustness of mysql_install_db
parent
8f87bd60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
scripts/mysql_install_db.sh
scripts/mysql_install_db.sh
+13
-4
No files found.
scripts/mysql_install_db.sh
View file @
2c95b977
...
...
@@ -18,6 +18,15 @@
#
# All unrecognized arguments to this script are passed to mysqld.
basedir
=
""
ldata
=
""
srcdir
=
""
args
=
""
defaults
=
""
mysqld_opt
=
""
user
=
""
force
=
0
in_rpm
=
0
ip_only
=
0
...
...
@@ -87,7 +96,8 @@ parse_arguments()
shift
fi
for
arg
do
for
arg
do
case
"
$arg
"
in
--force
)
force
=
1
;;
--basedir
=
*
)
basedir
=
`
parse_arg
"
$arg
"
`
;;
...
...
@@ -203,11 +213,10 @@ then
mysqld
=
"./sql/mysqld"
if
test
-n
"
$srcdir
"
-a
-f
"
$srcdir
/sql/share/english/errmsg.sys"
then
langdir
=
"
$srcdir
/sql/share/english"
mysqld_opt
=
"--language=
$srcdir
/sql/share/english"
else
langdir
=
"./sql/share/english"
mysqld_opt
=
"./sql/share/english"
fi
mysqld_opt
=
"--language=
$langdir
"
fi
# Make sure mysqld is available in default location (--basedir option is
...
...
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