diff options
author | serg@sergbook.mysql.com <> | 2007-04-27 14:13:34 -0700 |
---|---|---|
committer | serg@sergbook.mysql.com <> | 2007-04-27 14:13:34 -0700 |
commit | 7dfd5e8d71c2c310ad6d7f68a3520e364c750fe8 (patch) | |
tree | 752735f47c302136a2dd7640c00b74be9e07b89e /mysql-test/mysql-test-run.pl | |
parent | 31c1a1c9c33dd721708ed02fdf3e0f79758d489d (diff) | |
download | mariadb-git-7dfd5e8d71c2c310ad6d7f68a3520e364c750fe8.tar.gz |
mysql-test/mysql-test-run.pl
provide the writable datadir for mysqld --help (for lower_case test)
sql/log.h, sql/mysqld.cc
make default binlog_format value to be 0 (for a hack of using
GET_STR for enum to continue to work)
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 4306a5ade77..b4a3270294c 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -666,6 +666,7 @@ sub command_line_setup () { $glob_mysql_test_dir= `cygpath -m "$glob_mysql_test_dir"`; chomp($glob_mysql_test_dir); } + $default_vardir= "$glob_mysql_test_dir/var"; # In most cases, the base directory we find everything relative to, # is the parent directory of the "mysql-test" directory. For source @@ -838,7 +839,6 @@ sub command_line_setup () { # -------------------------------------------------------------------------- # Set the "var/" directory, as it is the base for everything else # -------------------------------------------------------------------------- - $default_vardir= "$glob_mysql_test_dir/var"; if ( ! $opt_vardir ) { $opt_vardir= $default_vardir; @@ -1361,7 +1361,7 @@ sub collect_mysqld_features () { # --no-defaults and --skip-grant-tables are to avoid loading # system-wide configs and plugins # - my $list= `$exe_mysqld --no-defaults --language=$path_language --skip-grant-tables --verbose --help`; + my $list= `$exe_mysqld --no-defaults --datadir=$default_vardir --language=$path_language --skip-grant-tables --verbose --help`; foreach my $line (split('\n', $list)) { |