1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

testcase for bug#6871, ndb, replace with collations

This commit is contained in:
joreland@mysql.com
2004-12-01 10:13:18 +01:00
parent d1a139cb24
commit 9acd3ea38d
2 changed files with 20 additions and 0 deletions

View File

@@ -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;

View File

@@ -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;