summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.mysql.com>2008-02-28 11:49:14 +0100
committerunknown <msvensson@pilot.mysql.com>2008-02-28 11:49:14 +0100
commitd8d3ed3bc59aae111fc047ddba4806d609d606f8 (patch)
tree9500a58d1ea694592d70c5e1686992c54447b719
parent125e4a450f242a48cf71fc12a9e55d961a78118b (diff)
downloadmariadb-git-d8d3ed3bc59aae111fc047ddba4806d609d606f8.tar.gz
Add variables fro myisamchk and myisampack
-rwxr-xr-xmysql-test/mysql-test-run.pl17
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 1ed675bb06c..4a7fbb41d5f 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -1238,6 +1238,23 @@ sub environment_setup {
"$basedir/extra/my_print_defaults");
$ENV{'MYSQL_MY_PRINT_DEFAULTS'}= native_path($exe_my_print_defaults);
+
+ # ----------------------------------------------------
+ # Setup env so childs can execute myisampack and myisamchk
+ # ----------------------------------------------------
+ $ENV{'MYISAMCHK'}= native_path(mtr_exe_exists(
+ vs_config_dirs('storage/myisam', 'myisamchk'),
+ vs_config_dirs('myisam', 'myisamchk'),
+ "$path_client_bindir/myisamchk",
+ "$basedir/storage/myisam/myisamchk",
+ "$basedir/myisam/myisamchk"));
+ $ENV{'MYISAMPACK'}= native_path(mtr_exe_exists(
+ vs_config_dirs('storage/myisam', 'myisampack'),
+ vs_config_dirs('myisam', 'myisampack'),
+ "$path_client_bindir/myisampack",
+ "$basedir/storage/myisam/myisampack",
+ "$basedir/myisam/myisampack"));
+
# ----------------------------------------------------
# perror
# ----------------------------------------------------