Commit ae02bc6b authored by unknown's avatar unknown

Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint

into  shellback.(none):/home/msvensson/mysql/mysql-5.1-maint


mysql-test/mysql-test-run.pl:
  Merge 5.0-> 5.1
parents fcc3a7a4 d3f052ec
...@@ -1354,6 +1354,7 @@ sub datadir_list_setup () { ...@@ -1354,6 +1354,7 @@ sub datadir_list_setup () {
sub collect_mysqld_features () { sub collect_mysqld_features () {
my $found_variable_list_start= 0; my $found_variable_list_start= 0;
my $tmpdir= tempdir(CLEANUP => 0); # Directory removed by this function
# #
# Execute "mysqld --help --verbose" to get a list # Execute "mysqld --help --verbose" to get a list
...@@ -1364,7 +1365,7 @@ sub collect_mysqld_features () { ...@@ -1364,7 +1365,7 @@ sub collect_mysqld_features () {
# #
# --datadir must exist, mysqld will chdir into it # --datadir must exist, mysqld will chdir into it
# #
my $list= `$exe_mysqld --no-defaults --datadir=$path_language --language=$path_language --skip-grant-tables --verbose --help`; my $list= `$exe_mysqld --no-defaults --datadir=$tmpdir --language=$path_language --skip-grant-tables --verbose --help`;
foreach my $line (split('\n', $list)) foreach my $line (split('\n', $list))
{ {
...@@ -1419,7 +1420,7 @@ sub collect_mysqld_features () { ...@@ -1419,7 +1420,7 @@ sub collect_mysqld_features () {
} }
} }
} }
rmtree($tmpdir);
mtr_error("Could not find version of MySQL") unless $mysql_version_id; mtr_error("Could not find version of MySQL") unless $mysql_version_id;
mtr_error("Could not find variabes list") unless $found_variable_list_start; mtr_error("Could not find variabes list") unless $found_variable_list_start;
......
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