mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
2fdb556e04
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.
13 lines
567 B
Text
13 lines
567 B
Text
CREATE DATABASE mysql_TEST CHARACTER SET utf8;
|
|
SHOW CREATE DATABASE mysql_TEST;
|
|
Database Create Database
|
|
mysql_TEST CREATE DATABASE `mysql_TEST` /*!40100 DEFAULT CHARACTER SET utf8mb3 */
|
|
CREATE DATABASE mysql_test CHARACTER SET latin2;
|
|
SHOW CREATE DATABASE mysql_test;
|
|
Database Create Database
|
|
mysql_test CREATE DATABASE `mysql_test` /*!40100 DEFAULT CHARACTER SET latin2 */
|
|
SHOW CREATE DATABASE mysql_TEST;
|
|
Database Create Database
|
|
mysql_TEST CREATE DATABASE `mysql_TEST` /*!40100 DEFAULT CHARACTER SET utf8mb3 */
|
|
DROP DATABASE mysql_test;
|
|
DROP DATABASE mysql_TEST;
|