Commit d7f96c50 authored by bar@mysql.com's avatar bar@mysql.com

ctype_utf8.result, ctype_utf8.test:

  Bug#10504: additional test
parent 6424e9cc
......@@ -1034,6 +1034,12 @@ hex(char(1))
select char(0xd1,0x8f);
char(0xd1,0x8f)
я
select char(0xd18f);
char(0xd18f)
я
select char(53647);
char(53647)
я
select char(0xff,0x8f);
char(0xff,0x8f)
......
......@@ -871,6 +871,8 @@ set names utf8;
# correct value
select hex(char(1));
select char(0xd1,0x8f);
select char(0xd18f);
select char(53647);
# incorrect value: return with warning
select char(0xff,0x8f);
# incorrect value in strict mode: return NULL with "Error" level warning
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment