1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-30 05:23:50 +03:00
Files
mariadb/mysql-test/suite/jp/r/jp_enum_utf8.result
Rucha Deodhar 2fdb556e04 MDEV-8334: Rename utf8 to utf8mb3
This patch changes the main name of 3 byte character set from utf8 to
utf8mb3. New old_mode UTF8_IS_UTF8MB3 is added and set TRUE by default,
so that utf8 would mean utf8mb3. If not set, utf8 would mean utf8mb4.
2021-05-19 06:48:36 +02:00

273 lines
8.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `` (`` ENUM('ア','イ','ウ'), INDEX(``)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `` (`` ENUM('あ','い','う'), INDEX(``)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `` (`` ENUM('龔','龖','龗'), INDEX(``)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `` (`` ENUM('ア','イ','ウ'), INDEX(``)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `` (`` ENUM('あ','い','う'), INDEX(``)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `` (`` ENUM('龔','龖','龗'), INDEX(``)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `` (`` ENUM('ア','イ','ウ'), INDEX(``)) DEFAULT CHARSET = utf8 engine = MEMORY;
CREATE TABLE `` (`` ENUM('あ','い','う'), INDEX(``)) DEFAULT CHARSET = utf8 engine = MEMORY;
CREATE TABLE `` (`` ENUM('龔','龖','龗'), INDEX(``)) DEFAULT CHARSET = utf8 engine = MEMORY;
INSERT INTO `` VALUES ('ア'),('イ'),('ウ');
INSERT INTO `` VALUES ('あ'),('い'),('う');
INSERT INTO `` VALUES ('龔'),('龖'),('龗');
INSERT INTO `` VALUES ('ア'),('イ'),('ウ');
INSERT INTO `` VALUES ('あ'),('い'),('う');
INSERT INTO `` VALUES ('龔'),('龖'),('龗');
INSERT INTO `` VALUES ('ア'),('イ'),('ウ');
INSERT INTO `` VALUES ('あ'),('い'),('う');
INSERT INTO `` VALUES ('龔'),('龖'),('龗');
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('龔','龖','龗') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('龔','龖','龗') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('龔','龖','龗') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=utf8mb3
DESC ``;
Field Type Null Key Default Extra
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('龔','龖','龗') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('龔','龖','龗') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('龔','龖','龗') YES MUL NULL
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('龔','龖','龗') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('龔','龖','龗') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('龔','龖','龗') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=utf8mb3
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('龔','龖','龗') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('龔','龖','龗') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('龔','龖','龗') YES MUL NULL
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;