Loading mysql-test/r/lock.result +1 −1 Original line number Diff line number Diff line Loading @@ -5,6 +5,6 @@ test.t1 check status OK Table Op Msg_type Msg_text test.t2 check error Table 't2' was not locked with LOCK TABLES n 1 4 n 1 mysql-test/t/lock.test +4 −0 Original line number Diff line number Diff line Loading @@ -66,8 +66,10 @@ lock tables t1 write; connection writer; send update low_priority t1 set n = 4; connection reader; --sleep 2 send select n from t1; connection locker; --sleep 2 unlock tables; connection writer; reap; Loading @@ -82,8 +84,10 @@ lock tables t1 read; connection writer; send update low_priority t1 set n = 4; connection reader; --sleep 2 send select n from t1; connection locker; --sleep 2 unlock tables; connection writer; reap; Loading Loading
mysql-test/r/lock.result +1 −1 Original line number Diff line number Diff line Loading @@ -5,6 +5,6 @@ test.t1 check status OK Table Op Msg_type Msg_text test.t2 check error Table 't2' was not locked with LOCK TABLES n 1 4 n 1
mysql-test/t/lock.test +4 −0 Original line number Diff line number Diff line Loading @@ -66,8 +66,10 @@ lock tables t1 write; connection writer; send update low_priority t1 set n = 4; connection reader; --sleep 2 send select n from t1; connection locker; --sleep 2 unlock tables; connection writer; reap; Loading @@ -82,8 +84,10 @@ lock tables t1 read; connection writer; send update low_priority t1 set n = 4; connection reader; --sleep 2 send select n from t1; connection locker; --sleep 2 unlock tables; connection writer; reap; Loading