mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
main.ctype_utf8 test fix for cursor protocol
Cursor protocol requires results to be simple.
This commit is contained in:
parent
db59bb62aa
commit
a54692a4b5
2 changed files with 3 additions and 3 deletions
|
@ -11658,8 +11658,8 @@ Warning 1292 Truncated incorrect INTEGER value: 'яяя'
|
||||||
# MDEV-28118 Wrong collation of `CAST(.. AS CHAR COLLATE DEFAULT)`
|
# MDEV-28118 Wrong collation of `CAST(.. AS CHAR COLLATE DEFAULT)`
|
||||||
#
|
#
|
||||||
SET NAMES utf8mb3 COLLATE utf8mb3_bin;
|
SET NAMES utf8mb3 COLLATE utf8mb3_bin;
|
||||||
SELECT COLLATION(CAST('a' AS CHAR COLLATE DEFAULT));
|
SELECT COLLATION(CAST('a' AS CHAR COLLATE DEFAULT)) AS c1;
|
||||||
COLLATION(CAST('a' AS CHAR COLLATE DEFAULT))
|
c1
|
||||||
utf8mb3_general_ci
|
utf8mb3_general_ci
|
||||||
CREATE TABLE t1 AS SELECT 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;
|
SHOW CREATE TABLE t1;
|
||||||
|
|
|
@ -2544,7 +2544,7 @@ SELECT CAST(_utf8 'яяя' AS INT);
|
||||||
--echo #
|
--echo #
|
||||||
|
|
||||||
SET NAMES utf8mb3 COLLATE utf8mb3_bin;
|
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;
|
CREATE TABLE t1 AS SELECT CAST('a' AS CHAR COLLATE DEFAULT) AS c1;
|
||||||
SHOW CREATE TABLE t1;
|
SHOW CREATE TABLE t1;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
|
Loading…
Reference in a new issue