2022-04-22 15:46:03 +00:00
|
|
|
EXPLAIN SYNTAX CREATE TABLE t (x varchar(255) COLLATE binary NOT NULL) ENGINE=Memory;
|
|
|
|
|
2022-04-23 03:50:31 +00:00
|
|
|
EXPLAIN SYNTAX CREATE TABLE t (x varchar(255) COLLATE NOT NULL) ENGINE=Memory; -- {clientError SYNTAX_ERROR}
|
|
|
|
EXPLAIN SYNTAX CREATE TABLE t (x varchar(255) COLLATE NULL) ENGINE=Memory; -- {clientError SYNTAX_ERROR}
|
|
|
|
EXPLAIN SYNTAX CREATE TABLE t (x varchar(255) COLLATE something_else NOT NULL) ENGINE=Memory; -- {clientError SYNTAX_ERROR}
|
2022-04-22 16:41:14 +00:00
|
|
|
|
2022-04-14 16:12:31 +00:00
|
|
|
SET compatibility_ignore_collation_in_create_table=false;
|
2022-04-22 12:00:12 +00:00
|
|
|
CREATE TABLE t_02267_collation (x varchar(255) COLLATE utf8_unicode_ci NOT NULL) ENGINE = Memory; -- {serverError NOT_IMPLEMENTED}
|
2022-04-14 16:12:31 +00:00
|
|
|
|
2022-04-16 12:31:23 +00:00
|
|
|
SET compatibility_ignore_collation_in_create_table=true;
|
|
|
|
CREATE TABLE t_02267_collation (x varchar(255) COLLATE utf8_unicode_ci NOT NULL) ENGINE = Memory;
|
2022-04-14 16:12:31 +00:00
|
|
|
|
|
|
|
DROP TABLE t_02267_collation;
|