Bug #18075170 SQL NODE RESTART REQUIRED TO
AVOID DEADLOCK AFTER RESTORE Post push test fix.
This commit is contained in:
parent
db2ed27e0e
commit
00fd99c484
@ -124,7 +124,6 @@ connection default;
|
|||||||
--echo # middle of transaction, without aborting it.
|
--echo # middle of transaction, without aborting it.
|
||||||
|
|
||||||
connection default;
|
connection default;
|
||||||
--let $MYSQL_DATA_DIR=`select @@datadir`
|
|
||||||
|
|
||||||
create table t1 (a int, key(a)) engine=myisam;
|
create table t1 (a int, key(a)) engine=myisam;
|
||||||
create table t2 (a int);
|
create table t2 (a int);
|
||||||
@ -151,7 +150,7 @@ select * from t2;
|
|||||||
--echo # Without fix select from t1 will break the transaction. After the fix
|
--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 # 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.
|
--echo # table from con2 will wait only if the transaction is not broken.
|
||||||
--replace_result $MYSQL_DATA_DIR '' ./ '' test/ ''
|
--replace_regex /'.*[\/\\]/'/
|
||||||
select * from t1;
|
select * from t1;
|
||||||
|
|
||||||
connect(con2, localhost, root);
|
connect(con2, localhost, root);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user