summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb_i_s/innodb_locks.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb_i_s/innodb_locks.test')
-rw-r--r--mysql-test/suite/innodb_i_s/innodb_locks.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb_i_s/innodb_locks.test b/mysql-test/suite/innodb_i_s/innodb_locks.test
new file mode 100644
index 00000000000..8327ae1f912
--- /dev/null
+++ b/mysql-test/suite/innodb_i_s/innodb_locks.test
@@ -0,0 +1,9 @@
+--source include/have_innodb.inc
+
+SHOW CREATE TABLE INFORMATION_SCHEMA.INNODB_LOCKS;
+
+CREATE TEMPORARY TABLE t1 LIKE INFORMATION_SCHEMA.INNODB_LOCKS;
+DROP TEMPORARY TABLE t1;
+
+CREATE TEMPORARY TABLE t1 AS SELECT * FROM INFORMATION_SCHEMA.INNODB_LOCKS LIMIT 0;
+DROP TEMPORARY TABLE t1;