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
commitfc1928c8b4f38243acb6538931b6d3b2a085e44f (patch)
treeff20520bff51f1745ee6283bc0cb6a605f21ea75 /mysql-test/mysql-test-run.pl
parent0ade82fe03a31c78f4575e5e35020b11e5eea70d (diff)
downloadmariadb-git-fc1928c8b4f38243acb6538931b6d3b2a085e44f.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'),