diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2014-12-28 19:42:17 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2014-12-28 19:46:18 +0400 |
commit | 6dbc48ca79e5fdd8d4022b00b862e08a4198155b (patch) | |
tree | 1904e477f09dd958af2b6696d4b7c8dbb0a1772d /mysql-test/t | |
parent | 8883c54ac08a555bc7d9b09395f49893ad4d80b5 (diff) | |
download | mariadb-git-6dbc48ca79e5fdd8d4022b00b862e08a4198155b.tar.gz |
MDEV-7324 - Lock-free hash for table definition cache
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/ps.test | 15 | ||||
-rw-r--r-- | mysql-test/t/show_check.test | 3 |
2 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/t/ps.test b/mysql-test/t/ps.test index 491594a3045..84c9874260a 100644 --- a/mysql-test/t/ps.test +++ b/mysql-test/t/ps.test @@ -2224,24 +2224,32 @@ deallocate prepare abc; create procedure proc_1() flush tables; flush tables; +--sorted_result show open tables from mysql; select Host, User from mysql.user limit 0; select Host, Db from mysql.host limit 0; +--sorted_result show open tables from mysql; call proc_1(); +--sorted_result show open tables from mysql; select Host, User from mysql.user limit 0; select Host, Db from mysql.host limit 0; +--sorted_result show open tables from mysql; call proc_1(); +--sorted_result show open tables from mysql; select Host, User from mysql.user limit 0; select Host, Db from mysql.host limit 0; +--sorted_result show open tables from mysql; call proc_1(); +--sorted_result show open tables from mysql; select Host, User from mysql.user limit 0; select Host, Db from mysql.host limit 0; +--sorted_result show open tables from mysql; flush tables; delimiter |; @@ -2261,24 +2269,31 @@ drop procedure proc_1; flush tables; select Host, User from mysql.user limit 0; select Host, Db from mysql.host limit 0; +--sorted_result show open tables from mysql; --enable_ps_protocol prepare abc from "flush tables"; execute abc; +--sorted_result show open tables from mysql; select Host, User from mysql.user limit 0; select Host, Db from mysql.host limit 0; +--sorted_result show open tables from mysql; execute abc; +--sorted_result show open tables from mysql; select Host, User from mysql.user limit 0; select Host, Db from mysql.host limit 0; +--sorted_result show open tables from mysql; execute abc; +--sorted_result show open tables from mysql; select Host, User from mysql.user limit 0; select Host, Db from mysql.host limit 0; +--sorted_result show open tables from mysql; flush tables; deallocate prepare abc; diff --git a/mysql-test/t/show_check.test b/mysql-test/t/show_check.test index 14d50709921..d2788ae3bad 100644 --- a/mysql-test/t/show_check.test +++ b/mysql-test/t/show_check.test @@ -135,9 +135,11 @@ show create table t1; drop table t1; flush tables; +--sorted_result show open tables; create table t1(n int); insert into t1 values (1); +--sorted_result show open tables; drop table t1; @@ -617,6 +619,7 @@ show databases; show tables; show events; show table status; +--sorted_result show open tables; show plugins; show columns in t1; |