mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-19123 Change default charset from latin1 to utf8mb4
Changing the default server character set from latin1 to utf8mb4.
This commit is contained in:
@@ -1303,7 +1303,7 @@ tab CREATE TABLE `tab` (
|
||||
`c1` point NOT NULL,
|
||||
SPATIAL KEY `idx1` (`c1`),
|
||||
CONSTRAINT `tab_const` CHECK (cast(`c1` as char charset binary) > 0)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||
SHOW INDEX FROM tab;
|
||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment Ignored
|
||||
tab 1 idx1 1 c1 A NULL 32 NULL SPATIAL NO
|
||||
|
Reference in New Issue
Block a user