main.ctype_utf8 test fix for cursor protocol

Cursor protocol requires results to be simple.
This commit is contained in:
Daniel Black 2024-11-21 17:45:26 +11:00
parent db59bb62aa
commit a54692a4b5
2 changed files with 3 additions and 3 deletions

View file

@ -11658,8 +11658,8 @@ Warning 1292 Truncated incorrect INTEGER value: 'яяя'
# MDEV-28118 Wrong collation of `CAST(.. AS CHAR COLLATE DEFAULT)`
#
SET NAMES utf8mb3 COLLATE utf8mb3_bin;
SELECT COLLATION(CAST('a' AS CHAR COLLATE DEFAULT));
COLLATION(CAST('a' AS CHAR COLLATE DEFAULT))
SELECT COLLATION(CAST('a' AS CHAR COLLATE DEFAULT)) AS c1;
c1
utf8mb3_general_ci
CREATE TABLE t1 AS SELECT CAST('a' AS CHAR COLLATE DEFAULT) AS c1;
SHOW CREATE TABLE t1;

View file

@ -2544,7 +2544,7 @@ SELECT CAST(_utf8 'яяя' AS INT);
--echo #
SET NAMES utf8mb3 COLLATE utf8mb3_bin;
SELECT COLLATION(CAST('a' AS CHAR COLLATE DEFAULT));
SELECT COLLATION(CAST('a' AS CHAR COLLATE DEFAULT)) AS c1;
CREATE TABLE t1 AS SELECT CAST('a' AS CHAR COLLATE DEFAULT) AS c1;
SHOW CREATE TABLE t1;
DROP TABLE t1;