1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #10942 "deadlock with FLUSH TABLES WITH READ LOCK + STOP SLAVE"

don't allow STOP SLAVE if global read lock is in taken
This commit is contained in:
unknown
2005-10-08 14:46:04 +02:00
parent b337566bab
commit 51907576bd
3 changed files with 17 additions and 1 deletions

View File

@ -38,3 +38,9 @@ master-bin.000001 461 Query 1 461 use `test`; rename table t1 to t5, t2 to t1
master-bin.000001 527 Query 1 527 use `test`; flush tables
select * from t3;
a
stop slave;
drop table t1;
flush tables with read lock;
start slave;
stop slave;
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction