summaryrefslogtreecommitdiff
path: root/mysql-test/t/create.test
diff options
context:
space:
mode:
authorgluh@mysql.com/eagle.(none) <>2007-11-28 15:37:00 +0400
committergluh@mysql.com/eagle.(none) <>2007-11-28 15:37:00 +0400
commit3628a7af97810ac2ec9b7026331e690980929a2f (patch)
tree45cb00d042a13f59effcab0620b2ea37d959f203 /mysql-test/t/create.test
parent0f3db011d58793b20b243815cb7b1eabd31a5fd5 (diff)
downloadmariadb-git-3628a7af97810ac2ec9b7026331e690980929a2f.tar.gz
Bug#25629 CREATE TABLE LIKE does not work with INFORMATION_SCHEMA
added new func mysql_create_like_schema_frm() which creates frm file based on I_S table
Diffstat (limited to 'mysql-test/t/create.test')
-rw-r--r--mysql-test/t/create.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test
index 023e55ea418..06ad25313ce 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -1328,4 +1328,17 @@ create table t2 as select f1() from t1;
drop table t1,t2;
drop function f1;
+#
+# Bug#25629 CREATE TABLE LIKE does not work with INFORMATION_SCHEMA
+#
+create table t1 like information_schema.processlist;
+show create table t1;
+drop table t1;
+create temporary table t1 like information_schema.processlist;
+show create table t1;
+drop table t1;
+create table t1 like information_schema.character_sets;
+show create table t1;
+drop table t1;
+
--echo End of 5.1 tests