1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-07 04:01:59 +03:00
mariadb/mysql-test/suite/engines/funcs/r/tc_structure_string_comment.result
Omer BarNir c92b9b7315 Test suites for engine testing, moved from test-extra so will be available
for general use.


mysql-test/Makefile.am:
  Adding directories of additional test suites
mysql-test/mysql-stress-test.pl:
  Adding check for additional errors checking during test run
2010-03-17 23:42:07 -07:00

50 lines
1.3 KiB
Plaintext

DROP TABLE IF EXISTS t1;
CREATE TABLE t1(c1 CHAR(10) NULL) COMMENT = 'This table has a CHAR column';
SHOW TABLES;
Tables_in_test
t1
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` char(10) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='This table has a CHAR column'
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
CREATE TABLE t1(c1 VARCHAR(10) NULL) COMMENT = 'This table has a VARCHAR column';
SHOW TABLES;
Tables_in_test
t1
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` varchar(10) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='This table has a VARCHAR column'
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
CREATE TABLE t1(c1 BINARY(10) NULL) COMMENT = 'This table has a BINARY column';
SHOW TABLES;
Tables_in_test
t1
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` binary(10) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='This table has a BINARY column'
DROP TABLE t1;
SHOW TABLES;
Tables_in_test
CREATE TABLE t1(c1 VARBINARY(10) NULL) COMMENT = 'This table has a VARBINARY column';
SHOW TABLES;
Tables_in_test
t1
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` varbinary(10) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='This table has a VARBINARY column'
DROP TABLE t1;
SHOW TABLES;
Tables_in_test