mysql-test/mysql-test-run.pl: another mysqld --help fix

scripts/mysql_install_db.sh: don't fail if --skip-XXX is not recognized
parent 1bd2953c
...@@ -1361,10 +1361,9 @@ sub collect_mysqld_features () { ...@@ -1361,10 +1361,9 @@ sub collect_mysqld_features () {
# --no-defaults and --skip-grant-tables are to avoid loading # --no-defaults and --skip-grant-tables are to avoid loading
# system-wide configs and plugins # system-wide configs and plugins
# #
# --datadir - for lowercase test to work # --datadir must exist, mysqld will chdir into it
# #
my $tmp_datadir=$opt_vardir || $default_vardir; my $list= `$exe_mysqld --no-defaults --datadir=$path_language --language=$path_language --skip-grant-tables --verbose --help`;
my $list= `$exe_mysqld --no-defaults --datadir=$tmp_datadir --language=$path_language --skip-grant-tables --verbose --help`;
foreach my $line (split('\n', $list)) foreach my $line (split('\n', $list))
{ {
......
...@@ -270,8 +270,8 @@ fi ...@@ -270,8 +270,8 @@ fi
# Peform the install of system tables # Peform the install of system tables
mysqld_bootstrap="${MYSQLD_BOOTSTRAP-$mysqld}" mysqld_bootstrap="${MYSQLD_BOOTSTRAP-$mysqld}"
mysqld_install_cmd_line="$mysqld_bootstrap $defaults $mysqld_opt --bootstrap \ mysqld_install_cmd_line="$mysqld_bootstrap $defaults $mysqld_opt --bootstrap \
--basedir=$basedir --datadir=$ldata --skip-innodb \ --basedir=$basedir --datadir=$ldata --loose-skip-innodb \
--skip-ndbcluster $args --max_allowed_packet=8M \ --loose-skip-ndbcluster $args --max_allowed_packet=8M \
--net_buffer_length=16K" --net_buffer_length=16K"
# Pipe mysql_system_tables.sql to "mysqld --bootstrap" # Pipe mysql_system_tables.sql to "mysqld --bootstrap"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment