summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorHorst.Hunger <horst.hunger@sun.com>2010-06-03 10:31:26 +0200
committerHorst.Hunger <horst.hunger@sun.com>2010-06-03 10:31:26 +0200
commit5c6a9a5f6fb1c57ad99ac3a14a56ade38684d631 (patch)
treeff20520bff51f1745ee6283bc0cb6a605f21ea75 /mysql-test/mysql-test-run.pl
parent20fc48fc38f18b3ad246e171224f23562f59a355 (diff)
downloadmariadb-git-5c6a9a5f6fb1c57ad99ac3a14a56ade38684d631.tar.gz
Patch for bug#52913 including all review results and changes of date format.
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index a35741bebda..820650b120e 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -2040,6 +2040,15 @@ sub environment_setup {
"$basedir/myisam/myisampack"));
# ----------------------------------------------------
+ # mysqlhotcopy
+ # ----------------------------------------------------
+ my $mysqlhotcopy=
+ mtr_pl_maybe_exists("$basedir/scripts/mysqlhotcopy");
+ # Since mysqltest interprets the real path as "false" in an if,
+ # use 1 ("true") to indicate "not exists" so it can be tested for
+ $ENV{'MYSQLHOTCOPY'}= $mysqlhotcopy || 1;
+
+ # ----------------------------------------------------
# perror
# ----------------------------------------------------
my $exe_perror= mtr_exe_exists(vs_config_dirs('extra', 'perror'),