1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-5519: new defaults in columnstore.cnf (#2894)

feat(charset)!: utf8 is a new charset default and utf8_general_ci is a new collation default in the engine configuration file shipped
---------

Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
Co-authored-by: mariadb-DanielLee <daniel.lee@mariadb.com>
This commit is contained in:
mariadb-AlexeyVorovich
2023-08-15 11:04:32 -04:00
committed by GitHub
parent 712d34a407
commit 64f1d541d0
50 changed files with 139 additions and 165 deletions

View File

@ -21,7 +21,7 @@ Table Create Table
cs3 CREATE TABLE `cs3` (
`i` int(11) DEFAULT NULL,
`t` text DEFAULT NULL
) ENGINE=Columnstore DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
) ENGINE=Columnstore DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci
delete from `test023_cs3`.`cs3` where i = 1;
update `test023_cs3`.`cs3` set i = 5 where i = 10;
select * from `test023_cs3`.`cs3`;

View File

@ -18,7 +18,7 @@ Table Create Table
cs3 CREATE TABLE "cs3" (
"i" int(11) DEFAULT NULL,
"t" text DEFAULT NULL
) ENGINE=Columnstore DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
) ENGINE=Columnstore DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci
delete from "test023_cs3"."cs3" where i = 1;
update "test023_cs3"."cs3" set i = 5 where i = 10;
select * from "test023_cs3"."cs3";

View File

@ -19,7 +19,7 @@ Table Create Table
cs3 CREATE TABLE `cs3` (
`i` int(11) DEFAULT NULL,
`t` text DEFAULT NULL
) ENGINE=Columnstore DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
) ENGINE=Columnstore DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci
delete from `test023_cs3`.`cs3` where i = 1;
update `test023_cs3`.`cs3` set i = 5 where i = 10;
select * from `test023_cs3`.`cs3`;
@ -35,7 +35,7 @@ cs3 CREATE TABLE `cs3` (
`i` int(11) DEFAULT NULL,
`t` text DEFAULT NULL,
`nt` text DEFAULT NULL
) ENGINE=Columnstore DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
) ENGINE=Columnstore DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci
drop table `test023_cs3`.`cs3`;
show create table `test023_cs3`.`cs3`;
ERROR 42S02: Table 'test023_cs3.cs3' doesn't exist