diff options
author | unknown <pekka@mysql.com> | 2005-09-01 14:23:46 +0200 |
---|---|---|
committer | unknown <pekka@mysql.com> | 2005-09-01 14:23:46 +0200 |
commit | ebfa6c2d2c4c06154460e35971c90b52025b3ef6 (patch) | |
tree | 798b7e2d92c6147a6de24a09ff803b907dfa42c8 /mysql-test | |
parent | 944666ef1d883413fac1721f58e002f3fe83cfc7 (diff) | |
parent | d2a0a87997f12d1ace6a02ebe5abc8964a4ac4a0 (diff) | |
download | mariadb-git-ebfa6c2d2c4c06154460e35971c90b52025b3ef6.tar.gz |
Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/export/space/pekka/ndb/version/my50
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/ndb_index_ordered.result | 6 | ||||
-rw-r--r-- | mysql-test/t/ndb_index_ordered.test | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/ndb_index_ordered.result b/mysql-test/r/ndb_index_ordered.result index 212c843cc44..36bac7b0f9d 100644 --- a/mysql-test/r/ndb_index_ordered.result +++ b/mysql-test/r/ndb_index_ordered.result @@ -652,3 +652,9 @@ show tables; Tables_in_test t1 drop table t1; +create table t1 (a int, c varchar(10), +primary key using hash (a), index(c)) engine=ndb; +insert into t1 (a, c) values (1,'aaa'),(3,'bbb'); +select count(*) from t1 where c<'bbb'; +count(*) +1 diff --git a/mysql-test/t/ndb_index_ordered.test b/mysql-test/t/ndb_index_ordered.test index 9b70919ab2a..e6827bdbe12 100644 --- a/mysql-test/t/ndb_index_ordered.test +++ b/mysql-test/t/ndb_index_ordered.test @@ -349,4 +349,10 @@ select a from t1 where b = 2; show tables; drop table t1; +# mysqld 5.0.13 crash, no bug# +create table t1 (a int, c varchar(10), + primary key using hash (a), index(c)) engine=ndb; +insert into t1 (a, c) values (1,'aaa'),(3,'bbb'); +select count(*) from t1 where c<'bbb'; + # End of 4.1 tests |