1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +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

@ -1,7 +1,7 @@
DROP DATABASE IF EXISTS mcs87_db;
CREATE DATABASE mcs87_db;
USE mcs87_db;
CREATE TABLE t1 (c1 INT, c2 CHAR(1)) ENGINE=Columnstore;
CREATE TABLE t1 (c1 INT, c2 CHAR(1)) ENGINE=Columnstore CHARSET=latin1 COLLATE=latin1_swedish_ci;
INSERT INTO t1 VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'), (5, 'e');
ALTER TABLE t1 ADD COLUMN c11 INT NOT NULL;
ERROR HY000: Internal error: Table is not empty. New column has to have a default value if NOT NULL required.