#At file:///home/sven/bzr/debug-max/6.0-rpl/
2685 Sven Sandberg 2008-07-23
post-merge fix.
Problem: Perl code in main.maria-recover needed to use
a variable set by the test. Perl code can't read test
language variables.
Fix: make the variable an environment variable.
modified:
mysql-test/t/maria-recover.test
per-file messages:
mysql-test/t/maria-recover.test
Make MYSQLD_DATADIR an environment variable (by not
prefixing it with $), so that the perl code in the
test can access it.
=== modified file 'mysql-test/t/maria-recover.test'
--- a/mysql-test/t/maria-recover.test 2008-07-22 18:08:06 +0000
+++ b/mysql-test/t/maria-recover.test 2008-07-23 12:27:46 +0000
@@ -2,7 +2,9 @@
--source include/have_maria.inc
-let $MYSQLD_DATADIR= `select @@datadir`;
+# Note: we're setting an environment variable (not prefixing it by $),
+# so that the perl code below can access it.
+let MYSQLD_DATADIR= `select @@datadir`;
select @@global.maria_recover;
set global maria_recover=off;
| Thread |
|---|
| • bzr commit into mysql-6.0-backup branch (sven:2685) | Sven Sandberg | 23 Jul |