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_column_default_string.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

98 lines
2.2 KiB
Plaintext

DROP TABLE IF EXISTS t14;
CREATE TABLE t14(c1 CHAR(10) NULL DEFAULT 'x');
SHOW TABLES;
Tables_in_test
t14
SHOW CREATE TABLE t14;
Table Create Table
t14 CREATE TABLE `t14` (
`c1` char(10) DEFAULT 'x'
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t14;
SHOW TABLES;
Tables_in_test
CREATE TABLE t14(c1 VARCHAR(10) NULL DEFAULT 'x');
SHOW TABLES;
Tables_in_test
t14
SHOW CREATE TABLE t14;
Table Create Table
t14 CREATE TABLE `t14` (
`c1` varchar(10) DEFAULT 'x'
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t14;
SHOW TABLES;
Tables_in_test
CREATE TABLE t14(c1 BINARY(10) NULL DEFAULT 'x');
SHOW TABLES;
Tables_in_test
t14
SHOW CREATE TABLE t14;
Table Create Table
t14 CREATE TABLE `t14` (
`c1` binary(10) DEFAULT 'x\0\0\0\0\0\0\0\0\0'
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t14;
SHOW TABLES;
Tables_in_test
CREATE TABLE t14(c1 VARBINARY(10) NULL DEFAULT 'x');
SHOW TABLES;
Tables_in_test
t14
SHOW CREATE TABLE t14;
Table Create Table
t14 CREATE TABLE `t14` (
`c1` varbinary(10) DEFAULT 'x'
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t14;
SHOW TABLES;
Tables_in_test
CREATE TABLE t14(c1 CHAR(10) NOT NULL DEFAULT 'x');
SHOW TABLES;
Tables_in_test
t14
SHOW CREATE TABLE t14;
Table Create Table
t14 CREATE TABLE `t14` (
`c1` char(10) NOT NULL DEFAULT 'x'
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t14;
SHOW TABLES;
Tables_in_test
CREATE TABLE t14(c1 VARCHAR(10) NOT NULL DEFAULT 'x');
SHOW TABLES;
Tables_in_test
t14
SHOW CREATE TABLE t14;
Table Create Table
t14 CREATE TABLE `t14` (
`c1` varchar(10) NOT NULL DEFAULT 'x'
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t14;
SHOW TABLES;
Tables_in_test
CREATE TABLE t14(c1 BINARY(10) NOT NULL DEFAULT 'x');
SHOW TABLES;
Tables_in_test
t14
SHOW CREATE TABLE t14;
Table Create Table
t14 CREATE TABLE `t14` (
`c1` binary(10) NOT NULL DEFAULT 'x\0\0\0\0\0\0\0\0\0'
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t14;
SHOW TABLES;
Tables_in_test
CREATE TABLE t14(c1 VARBINARY(10) NOT NULL DEFAULT 'x');
SHOW TABLES;
Tables_in_test
t14
SHOW CREATE TABLE t14;
Table Create Table
t14 CREATE TABLE `t14` (
`c1` varbinary(10) NOT NULL DEFAULT 'x'
) ENGINE=ENGINE DEFAULT CHARSET=latin1
DROP TABLE t14;
SHOW TABLES;
Tables_in_test