diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2016-04-09 17:03:48 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2016-04-09 17:03:48 +0200 |
commit | cd776fedba3e2902bc25ee206d6e6266e7eb9411 (patch) | |
tree | 95bf82d0e0522c6af708cd28639c82e004b5a264 /mysql-test/suite/handler/interface.test | |
parent | f884d233e6a5f68bab846a7bdbd041fc4415ad77 (diff) | |
parent | d516a2ae0cbd09d3b5b1667ec62b421330ab9902 (diff) | |
download | mariadb-git-10.2-connector-c-integ.tar.gz |
Merge branch '10.2' into 10.2-connector-c-integ10.2-connector-c-integ
Diffstat (limited to 'mysql-test/suite/handler/interface.test')
-rw-r--r-- | mysql-test/suite/handler/interface.test | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mysql-test/suite/handler/interface.test b/mysql-test/suite/handler/interface.test index 2ef617c3ce7..a82412799eb 100644 --- a/mysql-test/suite/handler/interface.test +++ b/mysql-test/suite/handler/interface.test @@ -175,22 +175,18 @@ create table t1 (c1 int); create table t2 (c1 int); insert into t1 values (1); insert into t2 values (2); ---echo connection: default handler t1 open; handler t1 read first; connect (flush,localhost,root,,); connection flush; ---echo connection: flush send flush tables; connect (waiter,localhost,root,,); connection waiter; ---echo connection: waiter let $wait_condition= select count(*) = 1 from information_schema.processlist where state = "Waiting for table flush"; --source include/wait_condition.inc connection default; ---echo connection: default handler t2 open; handler t2 read first; handler t1 read next; @@ -210,22 +206,18 @@ disconnect flush; drop table if exists t1, t0; --enable_warnings create table t1 (c1 int); ---echo connection: default handler t1 open; handler t1 read first; connect (flush,localhost,root,,); connection flush; ---echo connection: flush send rename table t1 to t0; connection waiter; ---echo connection: waiter let $wait_condition= select count(*) = 1 from information_schema.processlist where state = "Waiting for table metadata lock" and info = "rename table t1 to t0"; --source include/wait_condition.inc connection default; ---echo connection: default --echo # --echo # RENAME placed two pending locks and waits. --echo # When HANDLER t0 OPEN does open_tables(), it calls @@ -242,7 +234,6 @@ connection default; handler t0 open; --error 0, ER_UNKNOWN_TABLE handler t0 close; ---echo connection: flush connection flush; reap; --error ER_UNKNOWN_TABLE @@ -389,4 +380,3 @@ execute stmt; --error ER_UNKNOWN_TABLE handler v read next; drop view v; - |