diff options
author | Ajo Robert <ajo.robert@oracle.com> | 2015-05-12 20:27:26 +0530 |
---|---|---|
committer | Ajo Robert <ajo.robert@oracle.com> | 2015-05-12 20:27:26 +0530 |
commit | 820bf7b1f17fbaedb1061c7c845e755e6ebc1572 (patch) | |
tree | 084d5cf6e9945d19f21aa6cec6e5f527413e11c5 /mysql-test/t/myisam_recover.test | |
parent | 515b2203c5913679757fa2cf39f017001f7e29ee (diff) | |
download | mariadb-git-820bf7b1f17fbaedb1061c7c845e755e6ebc1572.tar.gz |
Bug #18075170 SQL NODE RESTART REQUIRED TO
AVOID DEADLOCK AFTER RESTORE
Test Failure Fix.
Diffstat (limited to 'mysql-test/t/myisam_recover.test')
-rw-r--r-- | mysql-test/t/myisam_recover.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/myisam_recover.test b/mysql-test/t/myisam_recover.test index 75aa9459acb..335c5e34bf0 100644 --- a/mysql-test/t/myisam_recover.test +++ b/mysql-test/t/myisam_recover.test @@ -124,6 +124,7 @@ connection default; --echo # middle of transaction, without aborting it. connection default; +--let $MYSQL_DATA_DIR=`select @@datadir` create table t1 (a int, key(a)) engine=myisam; create table t2 (a int); @@ -150,6 +151,7 @@ select * from t2; --echo # Without fix select from t1 will break the transaction. After the fix --echo # transaction should be active and should hold lock on table t2. Alter --echo # table from con2 will wait only if the transaction is not broken. +--replace_result $MYSQL_DATA_DIR '' ./ '' test/ '' select * from t1; connect(con2, localhost, root); |