polardbxengine/mysql-test/suite/engines/funcs/r/tc_column_default_string.re...

98 lines
2.4 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=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
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=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
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=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
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=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
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=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
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=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
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=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
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=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
DROP TABLE t14;
SHOW TABLES;
Tables_in_test