From 3f45e43c06705846f54264c1b28ab9c9b6e702ff Mon Sep 17 00:00:00 2001
From: unknown <msvensson@neptunus.(none)>
Date: Wed, 4 Oct 2006 19:21:22 +0200
Subject: [PATCH] Create the mysqld.spec file with a unique name in mysql-test
 dir, $opt_var_dir haven't been created yet

---
 mysql-test/mysql-test-run.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 91e2920ff19..1305d9d59e6 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -1141,7 +1141,7 @@ sub check_mysqld_features () {
   # print out version and a list of all features and settings
   #
   my $found_variable_list_start= 0;
-  my $spec_file= "$opt_vardir/mysqld.spec";
+  my $spec_file= "$glob_mysql_test_dir/mysqld.spec.$$";
   if ( mtr_run($exe_mysqld,
 	       ["--no-defaults",
 	        "--verbose",
-- 
2.30.9