summaryrefslogtreecommitdiff
path: root/mysql-test/t/create.test
diff options
context:
space:
mode:
authorunknown <gluh@mysql.com/eagle.(none)>2007-11-28 15:37:00 +0400
committerunknown <gluh@mysql.com/eagle.(none)>2007-11-28 15:37:00 +0400
commitb9d8e34925d1be4b6c1c8950217d41456a02c542 (patch)
tree45cb00d042a13f59effcab0620b2ea37d959f203 /mysql-test/t/create.test
parent9d503cea20bc5f2e1569f16b0114d34dfd875d66 (diff)
downloadmariadb-git-b9d8e34925d1be4b6c1c8950217d41456a02c542.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 mysql-test/r/create.result: test result mysql-test/t/create.test: test case sql/sql_table.cc: 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