summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_charset.test
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2005-01-09 11:00:37 +0100
committerunknown <joreland@mysql.com>2005-01-09 11:00:37 +0100
commit9b80f95f8f0d1d0940df53a23ba4cd8fb586dddd (patch)
treeefa8424f5b6fe5eb8c39b2b2db1c9a2b86aac68c /mysql-test/t/ndb_charset.test
parent79192c23358c9604a8c854a1b626e61ecbd6b34c (diff)
downloadmariadb-git-9b80f95f8f0d1d0940df53a23ba4cd8fb586dddd.tar.gz
ndb -
Fix ndb_limit, handle cmpDate of length 3 Remove ucs2 test as it requires one to configure --with-extra-charsets mysql-test/r/ndb_charset.result: Remove ucs2 test as it requires one to configure --with-extra-charsets mysql-test/t/ndb_charset.test: Remove ucs2 test as it requires one to configure --with-extra-charsets ndb/src/common/util/NdbSqlUtil.cpp: Fix ndb_limit, handle cmpDate of length 3
Diffstat (limited to 'mysql-test/t/ndb_charset.test')
-rw-r--r--mysql-test/t/ndb_charset.test32
1 files changed, 16 insertions, 16 deletions
diff --git a/mysql-test/t/ndb_charset.test b/mysql-test/t/ndb_charset.test
index ab2bbcc3ad8..6a191636f1e 100644
--- a/mysql-test/t/ndb_charset.test
+++ b/mysql-test/t/ndb_charset.test
@@ -217,24 +217,24 @@ select count(*) from t1 x, t1 y, t1 z where x.a = y.a and y.a = z.a;
drop table t1;
# minimal multi-byte test
-
-create table t1 (
- a char(5) character set ucs2,
- b varchar(7) character set utf8,
- primary key(a, b)
-) engine=ndb;
+# removed by jonas as this requires a configure --with-extra-charsets
+#create table t1 (
+# a char(5) character set ucs2,
+# b varchar(7) character set utf8,
+# primary key(a, b)
+#) engine=ndb;
#
-insert into t1 values
- ('a','A '),('B ','b'),('c','C '),('D','d'),('e ','E'),('F','f '),
- ('A','b '),('b ','C'),('C','d '),('d','E'),('E ','f'),
- ('a','C '),('B ','d'),('c','E '),('D','f');
--- error 1062
-insert into t1 values('d','f');
+#insert into t1 values
+# ('a','A '),('B ','b'),('c','C '),('D','d'),('e ','E'),('F','f '),
+# ('A','b '),('b ','C'),('C','d '),('d','E'),('E ','f'),
+# ('a','C '),('B ','d'),('c','E '),('D','f');
+#-- error 1062
+#insert into t1 values('d','f');
#
-select a,b,length(a),length(b) from t1 order by a,b limit 3;
-select a,b,length(a),length(b) from t1 order by a desc, b desc limit 3;
-select a,b,length(a),length(b) from t1 where a='c' and b='c';
-drop table t1;
+#select a,b,length(a),length(b) from t1 order by a,b limit 3;
+#select a,b,length(a),length(b) from t1 order by a desc, b desc limit 3;
+#select a,b,length(a),length(b) from t1 where a='c' and b='c';
+#drop table t1;
# bug
create table t1 (