diff options
author | unknown <tim@white.box> | 2001-07-24 12:23:17 -0400 |
---|---|---|
committer | unknown <tim@white.box> | 2001-07-24 12:23:17 -0400 |
commit | 22a5241f2836c3c9217bd59d6658259486e7fd27 (patch) | |
tree | 18791d54d6f1fcaf0985132031e33fa532ba0954 /mysql-test/t/bdb.test | |
parent | 710fb9998b7a37ece5fc5e84a5a7accc84bb1850 (diff) | |
download | mariadb-git-22a5241f2836c3c9217bd59d6658259486e7fd27.tar.gz |
Add test case for update/replace bug in bdb.
Remove unused argument to ha_berkeley::remove_key().
mysql-test/r/bdb.result:
Add test case for update/replace bug in bdb.
BitKeeper/etc/ignore:
Added .gdbinit .vimrc to the ignore list
mysql-test/t/bdb.test:
Add test case for update/replace bug in bdb.
sql/ha_berkeley.cc:
The packed_record argument to ha_berkeley::remove_key() was never
used; remove it.
sql/ha_berkeley.h:
The packed_record argument to ha_berkeley::remove_key() was never
used; remove it.
Diffstat (limited to 'mysql-test/t/bdb.test')
-rw-r--r-- | mysql-test/t/bdb.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/bdb.test b/mysql-test/t/bdb.test index ed167d8d005..7976b482100 100644 --- a/mysql-test/t/bdb.test +++ b/mysql-test/t/bdb.test @@ -65,6 +65,13 @@ replace into t1 (gesuchnr,benutzer_id) values (1,1); select * from t1; drop table t1; +# test for bug in replace with secondary key +create table t1 (id int not null primary key, x int not null, key (x)) type=bdb; +insert into t1 (id, x) values (1, 1); +replace into t1 (id, x) values (1, 2); +select * from t1; +drop table t1; + # # test delete using hidden_primary_key # |