ps.result, ctype_ucs.result, ctype_ucs.test, ps.test:
Bug #6351 make test failure "Unknown character set" UCS2 related tests were moved into ctype_ucs.
This commit is contained in:
parent
7253d4c4f6
commit
ae5c3ae0ba
@ -480,3 +480,10 @@ a 0061
|
|||||||
b 0062
|
b 0062
|
||||||
c 0063
|
c 0063
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
set @ivar= 1234;
|
||||||
|
set @str1 = 'select ?';
|
||||||
|
set @str2 = convert(@str1 using ucs2);
|
||||||
|
prepare stmt1 from @str2;
|
||||||
|
execute stmt1 using @ivar;
|
||||||
|
?
|
||||||
|
1234
|
||||||
|
@ -106,12 +106,6 @@ ERROR 42000: You have an error in your SQL syntax; check the manual that corresp
|
|||||||
set @fvar= 123.4567;
|
set @fvar= 123.4567;
|
||||||
prepare stmt1 from @fvar;
|
prepare stmt1 from @fvar;
|
||||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '123.4567' at line 1
|
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '123.4567' at line 1
|
||||||
set @str1 = 'select ?';
|
|
||||||
set @str2 = convert(@str1 using ucs2);
|
|
||||||
prepare stmt1 from @str2;
|
|
||||||
execute stmt1 using @ivar;
|
|
||||||
?
|
|
||||||
1234
|
|
||||||
drop table t1,t2;
|
drop table t1,t2;
|
||||||
PREPARE stmt1 FROM "select _utf8 'A' collate utf8_bin = ?";
|
PREPARE stmt1 FROM "select _utf8 'A' collate utf8_bin = ?";
|
||||||
set @var='A';
|
set @var='A';
|
||||||
|
@ -315,3 +315,11 @@ alter table t1 modify a char(5);
|
|||||||
select a, hex(a) from t1;
|
select a, hex(a) from t1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Check prepare statement from an UCS2 string
|
||||||
|
#
|
||||||
|
set @ivar= 1234;
|
||||||
|
set @str1 = 'select ?';
|
||||||
|
set @str2 = convert(@str1 using ucs2);
|
||||||
|
prepare stmt1 from @str2;
|
||||||
|
execute stmt1 using @ivar;
|
||||||
|
@ -110,10 +110,6 @@ set @fvar= 123.4567;
|
|||||||
--error 1064
|
--error 1064
|
||||||
prepare stmt1 from @fvar;
|
prepare stmt1 from @fvar;
|
||||||
|
|
||||||
set @str1 = 'select ?';
|
|
||||||
set @str2 = convert(@str1 using ucs2);
|
|
||||||
prepare stmt1 from @str2;
|
|
||||||
execute stmt1 using @ivar;
|
|
||||||
drop table t1,t2;
|
drop table t1,t2;
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user