Commit c0eac18e authored by Dave Wells's avatar Dave Wells Committed by Yoni Fogel

add function delete_n for use by recovery_stress tests refs[t:1977]

git-svn-id: file:///svn/toku/tokudb@14975 c7de825b-a66e-492c-adef-691d508d4ae1
parent 85df1ff8
......@@ -318,7 +318,13 @@ delete_fixed(DB *db1, DB *db2, DB_TXN *txn, int64_t k, u_int32_t flags) {
}
}
static void UU()
delete_n(DB *db1, DB *db2, DB_TXN *txn, int firstkey, int n, u_int32_t flags) {
int i;
for (i=0;i<n;i++) {
delete_fixed(db1, db2, txn, firstkey+i, flags);
}
}
static void
insert_n(DB *db1, DB *db2, DB_TXN *txn, int firstkey, int n, int offset) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment