1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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

scripts/mysql_install_db.sh: don't fail if --skip-XXX is not recognized
This commit is contained in:
serg@sergbook.mysql.com
2007-04-30 07:45:56 -07:00
parent 1bd2953c02
commit dbd683a7d9
2 changed files with 4 additions and 5 deletions

View File

@ -1361,10 +1361,9 @@ sub collect_mysqld_features () {
# --no-defaults and --skip-grant-tables are to avoid loading
# 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=$tmp_datadir --language=$path_language --skip-grant-tables --verbose --help`;
my $list= `$exe_mysqld --no-defaults --datadir=$path_language --language=$path_language --skip-grant-tables --verbose --help`;
foreach my $line (split('\n', $list))
{