diff options
author | monty@mysql.com <> | 2004-02-11 00:06:46 +0100 |
---|---|---|
committer | monty@mysql.com <> | 2004-02-11 00:06:46 +0100 |
commit | ce145789092b294a562f565671478ae2bf51d14a (patch) | |
tree | 927515d304bd661aebdb0e534418caf49d322ada /mysql-test/t/bdb.test | |
parent | 0c6a0b9a3118948efeedefd036d2994982babd08 (diff) | |
parent | efb134f3a874befe4ab1779f597ada09f57ca191 (diff) | |
download | mariadb-git-ce145789092b294a562f565671478ae2bf51d14a.tar.gz |
Merge with 4.0.18
Diffstat (limited to 'mysql-test/t/bdb.test')
-rw-r--r-- | mysql-test/t/bdb.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/bdb.test b/mysql-test/t/bdb.test index 12b81f27147..6823dd23b73 100644 --- a/mysql-test/t/bdb.test +++ b/mysql-test/t/bdb.test @@ -808,3 +808,17 @@ insert into t2 select * from t1; delete t1,t2 from t2,t1 where t1.a<'B' and t2.b=t1.b; drop table t1,t2; + +# +# Test index only read (Bug #2509) +# +create table t1 (a char(10), key(a), b int not null, key(b)) engine=bdb; +insert into t1 values ('a',1),('A',2); +explain select a from t1; +select a from t1; +explain select b from t1; +select b from t1; +alter table t1 modify a char(10) binary; +explain select a from t1; +select a from t1; +drop table t1; |