summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_charset.test
diff options
context:
space:
mode:
authorpekka@mysql.com <>2005-11-16 13:26:26 +0100
committerpekka@mysql.com <>2005-11-16 13:26:26 +0100
commit9fe68c3da6d566f1b921534bd54581fa81a3c36e (patch)
treebe4cf5b5c6758ab75a5c78d5afe6431c52fee567 /mysql-test/t/ndb_charset.test
parent6651c0876ca1afe78161129ba2bf49deab6dd313 (diff)
downloadmariadb-git-9fe68c3da6d566f1b921534bd54581fa81a3c36e.tar.gz
ndb - bug#14007 5.0 *** does not automerge into 5.1 ***
Diffstat (limited to 'mysql-test/t/ndb_charset.test')
-rw-r--r--mysql-test/t/ndb_charset.test15
1 files changed, 10 insertions, 5 deletions
diff --git a/mysql-test/t/ndb_charset.test b/mysql-test/t/ndb_charset.test
index fb43e1831f3..5941e5750db 100644
--- a/mysql-test/t/ndb_charset.test
+++ b/mysql-test/t/ndb_charset.test
@@ -237,13 +237,18 @@ drop table t1;
#select a,b,length(a),length(b) from t1 where a='c' and b='c';
#drop table t1;
-# bug
+# bug#14007
create table t1 (
a char(10) primary key
-) engine=ndb;
-insert into t1 values ('jonas % ');
-replace into t1 values ('jonas % ');
-replace into t1 values ('jonas % ');
+) engine=ndbcluster default charset=latin1;
+
+insert into t1 values ('aaabb');
+select * from t1;
+replace into t1 set a = 'AAABB';
+select * from t1;
+replace into t1 set a = 'aAaBb';
+select * from t1;
+replace into t1 set a = 'aaabb';
select * from t1;
drop table t1;