Commit e4dbc32f authored by unknown's avatar unknown

testcase for bug#6871, ndb, replace with collations


mysql-test/r/ndb_charset.result:
  testcase for bug#6871
mysql-test/t/ndb_charset.test:
  testcase for bug#6871
parent 62e7f1ca
...@@ -189,3 +189,13 @@ p a ...@@ -189,3 +189,13 @@ p a
5 aaa 5 aaa
6 AAA 6 AAA
drop table t1; drop table t1;
create table t1 (
a varchar(10) primary key
) engine=ndb;
insert into t1 values ('jonas % ');
replace into t1 values ('jonas % ');
replace into t1 values ('jonas % ');
select * from t1;
a
jonas %
drop table t1;
...@@ -157,3 +157,13 @@ select * from t1 where a = 'AaA' order by p; ...@@ -157,3 +157,13 @@ select * from t1 where a = 'AaA' order by p;
# 6 # 6
select * from t1 where a = 'AAA' order by p; select * from t1 where a = 'AAA' order by p;
drop table t1; drop table t1;
# bug
create table t1 (
a varchar(10) primary key
) engine=ndb;
insert into t1 values ('jonas % ');
replace into t1 values ('jonas % ');
replace into t1 values ('jonas % ');
select * from t1;
drop table t1;
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