diff options
author | unknown <joreland@mysql.com> | 2005-01-09 11:00:37 +0100 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2005-01-09 11:00:37 +0100 |
commit | 82fb0300b217036c5b95fdf6efd9baf7938eac64 (patch) | |
tree | efa8424f5b6fe5eb8c39b2b2db1c9a2b86aac68c /mysql-test/t/ndb_charset.test | |
parent | cff904aa20f6dedfafc631ba5382aa198625bb64 (diff) | |
download | mariadb-git-82fb0300b217036c5b95fdf6efd9baf7938eac64.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.test | 32 |
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 ( |