mirror of
https://github.com/MariaDB/server.git
synced 2025-09-11 05:52:26 +03:00
Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt
into magare.gmz:/home/kgeorge/mysql/autopush/B27099-5.1-opt
This commit is contained in:
@@ -1742,25 +1742,13 @@ NULL
|
||||
Warnings:
|
||||
Error 1300 Invalid utf8 character string: 'FF'
|
||||
select hex(_utf8 0x616263FF);
|
||||
hex(_utf8 0x616263FF)
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1300 Invalid utf8 character string: 'FF'
|
||||
ERROR HY000: Invalid utf8 character string: 'FF'
|
||||
select hex(_utf8 X'616263FF');
|
||||
hex(_utf8 X'616263FF')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1300 Invalid utf8 character string: 'FF'
|
||||
ERROR HY000: Invalid utf8 character string: 'FF'
|
||||
select hex(_utf8 B'001111111111');
|
||||
hex(_utf8 B'001111111111')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1300 Invalid utf8 character string: 'FF'
|
||||
ERROR HY000: Invalid utf8 character string: 'FF'
|
||||
select (_utf8 X'616263FF');
|
||||
(_utf8 X'616263FF')
|
||||
NULL
|
||||
Warnings:
|
||||
Error 1300 Invalid utf8 character string: 'FF'
|
||||
ERROR HY000: Invalid utf8 character string: 'FF'
|
||||
set sql_mode=default;
|
||||
select hex(char(0xFF using utf8));
|
||||
hex(char(0xFF using utf8))
|
||||
@@ -1773,22 +1761,10 @@ hex(convert(0xFF using utf8))
|
||||
Warnings:
|
||||
Warning 1300 Invalid utf8 character string: 'FF'
|
||||
select hex(_utf8 0x616263FF);
|
||||
hex(_utf8 0x616263FF)
|
||||
616263
|
||||
Warnings:
|
||||
Warning 1300 Invalid utf8 character string: 'FF'
|
||||
ERROR HY000: Invalid utf8 character string: 'FF'
|
||||
select hex(_utf8 X'616263FF');
|
||||
hex(_utf8 X'616263FF')
|
||||
616263
|
||||
Warnings:
|
||||
Warning 1300 Invalid utf8 character string: 'FF'
|
||||
ERROR HY000: Invalid utf8 character string: 'FF'
|
||||
select hex(_utf8 B'001111111111');
|
||||
hex(_utf8 B'001111111111')
|
||||
03
|
||||
Warnings:
|
||||
Warning 1300 Invalid utf8 character string: 'FF'
|
||||
ERROR HY000: Invalid utf8 character string: 'FF'
|
||||
select (_utf8 X'616263FF');
|
||||
(_utf8 X'616263FF')
|
||||
abc
|
||||
Warnings:
|
||||
Warning 1300 Invalid utf8 character string: 'FF'
|
||||
ERROR HY000: Invalid utf8 character string: 'FF'
|
||||
|
@@ -1560,4 +1560,8 @@ SELECT SCHEMA_NAME FROM INFORMATION_SCHEMA.SCHEMATA
|
||||
WHERE SCHEMA_NAME ='information_schema';
|
||||
SCHEMA_NAME
|
||||
information_schema
|
||||
SELECT TABLE_COLLATION FROM INFORMATION_SCHEMA.TABLES
|
||||
WHERE TABLE_SCHEMA='mysql' and TABLE_NAME= 'db';
|
||||
TABLE_COLLATION
|
||||
utf8_bin
|
||||
End of 5.1 tests.
|
||||
|
@@ -1412,14 +1412,22 @@ DROP TABLE t1, t2;
|
||||
set sql_mode=traditional;
|
||||
select hex(char(0xFF using utf8));
|
||||
select hex(convert(0xFF using utf8));
|
||||
--error ER_INVALID_CHARACTER_STRING
|
||||
select hex(_utf8 0x616263FF);
|
||||
--error ER_INVALID_CHARACTER_STRING
|
||||
select hex(_utf8 X'616263FF');
|
||||
--error ER_INVALID_CHARACTER_STRING
|
||||
select hex(_utf8 B'001111111111');
|
||||
--error ER_INVALID_CHARACTER_STRING
|
||||
select (_utf8 X'616263FF');
|
||||
set sql_mode=default;
|
||||
select hex(char(0xFF using utf8));
|
||||
select hex(convert(0xFF using utf8));
|
||||
--error ER_INVALID_CHARACTER_STRING
|
||||
select hex(_utf8 0x616263FF);
|
||||
--error ER_INVALID_CHARACTER_STRING
|
||||
select hex(_utf8 X'616263FF');
|
||||
--error ER_INVALID_CHARACTER_STRING
|
||||
select hex(_utf8 B'001111111111');
|
||||
--error ER_INVALID_CHARACTER_STRING
|
||||
select (_utf8 X'616263FF');
|
||||
|
@@ -1201,5 +1201,11 @@ DROP VIEW v1;
|
||||
#
|
||||
SELECT SCHEMA_NAME FROM INFORMATION_SCHEMA.SCHEMATA
|
||||
WHERE SCHEMA_NAME ='information_schema';
|
||||
|
||||
#
|
||||
# Bug#31381 Error in retrieving Data from INFORMATION_SCHEMA
|
||||
#
|
||||
SELECT TABLE_COLLATION FROM INFORMATION_SCHEMA.TABLES
|
||||
WHERE TABLE_SCHEMA='mysql' and TABLE_NAME= 'db';
|
||||
|
||||
--echo End of 5.1 tests.
|
||||
|
Reference in New Issue
Block a user