diff options
author | unknown <knielsen@knielsen-hq.org> | 2009-10-07 09:57:48 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2009-10-07 09:57:48 +0200 |
commit | ed40801d9d95a549491cc20fb9e3a7edd3a45d33 (patch) | |
tree | 496bce5fb9942a86cb8a4ad83b1b5574a7e44f6b /mysql-test/suite/parts | |
parent | eebb0da3334937b311242ea93fa5bb8fce38ae4c (diff) | |
download | mariadb-git-ed40801d9d95a549491cc20fb9e3a7edd3a45d33.tar.gz |
Fix test case partition_recover_myisam for --embedded-server.
Diffstat (limited to 'mysql-test/suite/parts')
-rw-r--r-- | mysql-test/suite/parts/t/partition_recover_myisam.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/suite/parts/t/partition_recover_myisam.test b/mysql-test/suite/parts/t/partition_recover_myisam.test index 14604bfeb15..d6f30878482 100644 --- a/mysql-test/suite/parts/t/partition_recover_myisam.test +++ b/mysql-test/suite/parts/t/partition_recover_myisam.test @@ -16,6 +16,8 @@ FLUSH TABLES; let $MYSQLD_DATADIR= `select @@datadir`; --remove_file $MYSQLD_DATADIR/test/t1_will_crash.MYI --copy_file std_data/corrupt_t1.MYI $MYSQLD_DATADIR/test/t1_will_crash.MYI +# Embedded server doesn't chdir to data directory +--replace_regex /Table '.*\/data\/test\/t1_will_crash/Table '.\/test\/t1_will_crash/ SELECT * FROM t1_will_crash; DROP TABLE t1_will_crash; CREATE TABLE t1_will_crash (a INT, KEY (a)) @@ -29,5 +31,7 @@ FLUSH TABLES; --echo # head -c1024 t1#P#p1.MYI > corrupt_t1#P#p1.MYI --remove_file $MYSQLD_DATADIR/test/t1_will_crash#P#p1.MYI --copy_file std_data/corrupt_t1#P#p1.MYI $MYSQLD_DATADIR/test/t1_will_crash#P#p1.MYI +# Embedded server doesn't chdir to data directory +--replace_regex /Table '.*\/data\/test\/t1_will_crash/Table '.\/test\/t1_will_crash/ SELECT * FROM t1_will_crash; DROP TABLE t1_will_crash; |