diff options
Diffstat (limited to 'mysql-test/r/flush_table.result')
-rw-r--r-- | mysql-test/r/flush_table.result | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mysql-test/r/flush_table.result b/mysql-test/r/flush_table.result index db54d2e53ef..b29c83eb574 100644 --- a/mysql-test/r/flush_table.result +++ b/mysql-test/r/flush_table.result @@ -6,6 +6,37 @@ flush table t1; check table t1; Table Op Msg_type Msg_text test.t1 check status OK +unlock tables; +lock table t1 read; +lock table t1 read; + flush table t1; +select * from t1; +a +1 +unlock tables; +select * from t1; +a +1 +unlock tables; +lock table t1 write; + lock table t1 read; +flush table t1; +select * from t1; +a +1 +unlock tables; +unlock tables; +lock table t1 read; + lock table t1 write; +flush table t1; +select * from t1; +a +1 +unlock tables; +unlock tables; +select * from t1; +a +1 drop table t1; create table t1(table_id char(20) primary key); create table t2(table_id char(20) primary key); |