mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
ctype_utf8.result, ctype_utf8.test, item.cc:
Bug#12371 executing prepared statement fails (illegal mix of collations) After review fixes. sql/item.cc: Bug#12371 executing prepared statement fails (illegal mix of collations) After review fixes. mysql-test/t/ctype_utf8.test: Bug#12371 executing prepared statement fails (illegal mix of collations) After review fixes. mysql-test/r/ctype_utf8.result: Bug#12371 executing prepared statement fails (illegal mix of collations) After review fixes.
This commit is contained in:
@ -1001,6 +1001,9 @@ set @a:='bar';
|
||||
execute my_stmt using @a;
|
||||
a b
|
||||
bar kostja
|
||||
set @a:=NULL;
|
||||
execute my_stmt using @a;
|
||||
a b
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (
|
||||
a varchar(255) NOT NULL default '',
|
||||
|
@ -840,6 +840,8 @@ insert into t1 values ('bar','kostja');
|
||||
prepare my_stmt from "select * from t1 where a=?";
|
||||
set @a:='bar';
|
||||
execute my_stmt using @a;
|
||||
set @a:=NULL;
|
||||
execute my_stmt using @a;
|
||||
drop table t1;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user