diff options
author | unknown <joreland@mysql.com> | 2004-08-27 00:59:16 +0200 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2004-08-27 00:59:16 +0200 |
commit | b5ebc0f259de7d3ed8a13adaf161d499f6596b6c (patch) | |
tree | 1becf9e6468c4d6c328fa0f502a2755c8d603212 /mysql-test/t/ndb_index_ordered.test | |
parent | fccc404a10beba353e9bc9ff4004318e16b01912 (diff) | |
download | mariadb-git-b5ebc0f259de7d3ed8a13adaf161d499f6596b6c.tar.gz |
Fix ordered index scan with partially specified key
Diffstat (limited to 'mysql-test/t/ndb_index_ordered.test')
-rw-r--r-- | mysql-test/t/ndb_index_ordered.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/ndb_index_ordered.test b/mysql-test/t/ndb_index_ordered.test index 3def52e865c..cffe9236fb5 100644 --- a/mysql-test/t/ndb_index_ordered.test +++ b/mysql-test/t/ndb_index_ordered.test @@ -113,6 +113,9 @@ select * from t1 where b<=5 and c=0; select * from t1 where b=4 and c<=5 order by a; select * from t1 where b<=4 and c<=5 order by a; select * from t1 where b<=5 and c=0 or b<=5 and c=2; + +select count(*) from t1 where b = 0; +select count(*) from t1 where b = 1; drop table t1; # |