mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Add test case for update/replace bug in bdb.
Remove unused argument to ha_berkeley::remove_key().
This commit is contained in:
@ -139,6 +139,8 @@ t1 1 level 1 level A 3 NULL NULL
|
||||
gesuchnr benutzer_id
|
||||
1 1
|
||||
2 1
|
||||
id x
|
||||
1 2
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 optimize status OK
|
||||
a
|
||||
|
@ -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
|
||||
#
|
||||
|
Reference in New Issue
Block a user