Skip to content

Commit

Permalink
Bug #18075170 SQL NODE RESTART REQUIRED TO
Browse files Browse the repository at this point in the history
    AVOID DEADLOCK AFTER RESTORE

    Post push test fix.
  • Loading branch information
Ajo Robert committed Jun 22, 2015
1 parent db2ed27 commit 00fd99c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mysql-test/t/myisam_recover.test
Expand Up @@ -124,7 +124,6 @@ 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);
Expand All @@ -151,7 +150,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/ ''
--replace_regex /'.*[\/\\]/'/
select * from t1;

connect(con2, localhost, root);
Expand Down

0 comments on commit 00fd99c

Please sign in to comment.