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
b75d7676
Commit
b75d7676
authored
Jan 13, 2018
by
Sergey Vojtovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed mysql_install_db --no-defaults
Regression after
5ea28015
.
parent
abc12339
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
scripts/mysql_install_db.sh
scripts/mysql_install_db.sh
+9
-6
No files found.
scripts/mysql_install_db.sh
View file @
b75d7676
...
...
@@ -27,6 +27,7 @@ srcdir=""
args
=
""
defaults
=
""
defaults_group_suffix
=
""
mysqld_opt
=
""
user
=
""
...
...
@@ -130,8 +131,10 @@ parse_arguments()
--verbose
)
verbose
=
1
;;
# Obsolete
--rpm
)
in_rpm
=
1
;;
--help
)
usage
;;
--no-defaults
|
--defaults-file
=
*
|
--defaults-extra-file
=
*
|
--defaults-group-suffix
=
*
)
defaults
=
"
$defaults
$arg
"
;;
--no-defaults
|
--defaults-file
=
*
|
--defaults-extra-file
=
*
)
defaults
=
"
$arg
"
;;
--defaults-group-suffix
=
*
)
defaults_group_suffix
=
"
$arg
"
;;
--cross-bootstrap
|
--windows
)
# Used when building the MariaDB system tables on a different host than
...
...
@@ -260,7 +263,7 @@ fi
# Now we can get arguments from the groups [mysqld] and [mysql_install_db]
# in the my.cfg file, then re-run to merge with command line arguments.
parse_arguments
`
"
$print_defaults
"
$defaults
--mysqld
mysql_install_db
`
parse_arguments
`
"
$print_defaults
"
$defaults
$defaults_group_suffix
--mysqld
mysql_install_db
`
parse_arguments PICK-ARGS-FROM-ARGV
"
$@
"
# Configure paths to support files
...
...
@@ -420,9 +423,9 @@ fi
mysqld_bootstrap
=
"
${
MYSQLD_BOOTSTRAP
-
$mysqld
}
"
mysqld_install_cmd_line
()
{
"
$mysqld_bootstrap
"
$defaults
"
$mysqld_opt
"
--bootstrap
\
"--basedir=
$basedir
"
"--datadir=
$ldata
"
--log-warnings
=
0
--loose-skip-innodb
\
--loose-skip-ndbcluster
$args
--max_allowed_packet
=
8M
\
"
$mysqld_bootstrap
"
$defaults
$defaults_group_suffix
"
$mysqld_opt
"
\
--bootstrap
"--basedir=
$basedir
"
"--datadir=
$ldata
"
--log-warnings
=
0
\
--loose-skip-
innodb
--loose-skip-
ndbcluster
$args
--max_allowed_packet
=
8M
\
--default-storage-engine
=
myisam
\
--net_buffer_length
=
16K
}
...
...
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