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

set charset to utf8mb4 in the oracle.fuct_concat_oracle test

This commit is contained in:
Timofey Turenko
2025-06-02 17:10:59 +03:00
committed by Leonid Fedorov
parent 5cb7a4ac4c
commit b2c0106c93
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
SET sql_mode=ORACLE;
SET default_storage_engine=ColumnStore;
SET character_set_server = "utf8mb4";
EXPLAIN EXTENDED SELECT 'a'||'b'||'c';
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
@ -354,7 +355,7 @@ EXPLAIN EXTENDED SELECT c1 FROM t1 WHERE c1 LIKE '%'||'b' ORDER BY ord;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 PUSHED SELECT NULL NULL NULL NULL NULL NULL NULL NULL NULL
Warnings:
Note 1003 select "test"."t1"."c1" AS "c1" from "test"."t1" where "test"."t1"."c1" like convert(concat('%','b') using utf8mb3) order by "test"."t1"."ord"
Note 1003 select "test"."t1"."c1" AS "c1" from "test"."t1" where "test"."t1"."c1" like convert(concat('%','b') using utf8mb4) order by "test"."t1"."ord"
SELECT c1 FROM t1 WHERE c1 LIKE c2||'%'||'c' ORDER BY ord;
c1
abc

View File

@ -4,6 +4,7 @@
SET sql_mode=ORACLE;
SET default_storage_engine=ColumnStore;
SET character_set_server = "utf8mb4";
EXPLAIN EXTENDED SELECT 'a'||'b'||'c';
EXPLAIN EXTENDED SELECT CONCAT('a'||'b'||'c');