You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Update mcs182_char_length_function.test
This commit is contained in:
committed by
KirillPerov
parent
b446eb4621
commit
3ab6748807
@ -15,6 +15,7 @@ SET default_storage_engine=Columnstore;
|
||||
|
||||
CREATE TABLE t1 (a VARCHAR(20));
|
||||
INSERT INTO t1 VALUES (repeat('a', 5)), (repeat('b', 10)), (repeat('c', 20));
|
||||
--replace_regex /( COLLATE=latin1_swedish_ci)//
|
||||
SHOW CREATE TABLE t1;
|
||||
|
||||
SELECT CHAR_LENGTH('MariaDB');
|
||||
@ -28,6 +29,7 @@ SELECT a, CHARACTER_LENGTH(a) FROM t1 ORDER BY a;
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (a CHAR(1), b INT, c DATETIME, d DOUBLE);
|
||||
INSERT INTO t1 VALUES ('', NULL, '0-0-0', NULL),('a', 12, '1212-12-12', 1.19691E+100),('b', 13, '1313-3-13 13:13:13', 2.1961E+18),('c', 14, '1414-4-14', 0.16191),('d', 15, '2015-5-15 15:15:15', 1.971917);
|
||||
--replace_regex /( COLLATE=latin1_swedish_ci)//
|
||||
SHOW CREATE TABLE t1;
|
||||
|
||||
SELECT a, CHARACTER_LENGTH(a) FROM t1 ORDER BY a;
|
||||
|
Reference in New Issue
Block a user