From b2c0106c936fb5b9eead5f418f06e9889eb942ff Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Mon, 2 Jun 2025 17:10:59 +0300 Subject: [PATCH] set charset to utf8mb4 in the oracle.fuct_concat_oracle test --- mysql-test/columnstore/oracle/func_concat_oracle.result | 3 ++- mysql-test/columnstore/oracle/func_concat_oracle.test | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mysql-test/columnstore/oracle/func_concat_oracle.result b/mysql-test/columnstore/oracle/func_concat_oracle.result index 0b3da5871..b92edec01 100644 --- a/mysql-test/columnstore/oracle/func_concat_oracle.result +++ b/mysql-test/columnstore/oracle/func_concat_oracle.result @@ -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 diff --git a/mysql-test/columnstore/oracle/func_concat_oracle.test b/mysql-test/columnstore/oracle/func_concat_oracle.test index 3b8ac4ea9..a720c2d7d 100644 --- a/mysql-test/columnstore/oracle/func_concat_oracle.test +++ b/mysql-test/columnstore/oracle/func_concat_oracle.test @@ -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');