summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorunknown <svoj@june.mysql.com>2007-11-14 14:38:26 +0400
committerunknown <svoj@june.mysql.com>2007-11-14 14:38:26 +0400
commit09e24d1337c2c46bfb5bfaeb7e051f502d8d6bdc (patch)
tree229f3ad6cc4a649e6655fe81558ec1b84806be58 /mysql-test/mysql-test-run.pl
parent001c78e29e7a917bad4d64673e84230768d936ad (diff)
parent209c69f8c787a898d21465151fd18c6719ac8152 (diff)
downloadmariadb-git-09e24d1337c2c46bfb5bfaeb7e051f502d8d6bdc.tar.gz
Merge mysql.com:/home/svoj/devel/mysql/BUG31277/mysql-4.1-engines
into mysql.com:/home/svoj/devel/mysql/BUG31277/mysql-5.0-engines myisam/mi_check.c: Auto merged myisam/mi_open.c: Auto merged myisam/mi_packrec.c: Auto merged myisam/myisamchk.c: Auto merged mysql-test/mysql-test-run.pl: Auto merged sql/mysql_priv.h: Auto merged include/mysql_com.h: Use local. sql-common/client.c: Use local.
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 799a37220cc..d97dd2d99bf 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -2065,6 +2065,21 @@ sub environment_setup () {
($lib_udf_example ? dirname($lib_udf_example) : "") .
($ENV{'LD_LIBRARY_PATH'} ? ":$ENV{'LD_LIBRARY_PATH'}" : "");
+ # ----------------------------------------------------
+ # Setup env so childs can execute myisampack and myisamchk
+ # ----------------------------------------------------
+ $ENV{'MYISAMCHK'}= mtr_native_path(mtr_exe_exists(
+ vs_config_dirs('storage/myisam', 'myisamchk'),
+ vs_config_dirs('myisam', 'myisamchk'),
+ "$path_client_bindir/myisamchk",
+ "$glob_basedir/storage/myisam/myisamchk",
+ "$glob_basedir/myisam/myisamchk"));
+ $ENV{'MYISAMPACK'}= mtr_native_path(mtr_exe_exists(
+ vs_config_dirs('storage/myisam', 'myisampack'),
+ vs_config_dirs('myisam', 'myisampack'),
+ "$path_client_bindir/myisampack",
+ "$glob_basedir/storage/myisam/myisampack",
+ "$glob_basedir/myisam/myisampack"));
# ----------------------------------------------------
# We are nice and report a bit about our settings