From e920fa57cf9c503e560055864e4de37912b239e1 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Mon, 29 May 2023 14:30:08 -0400 Subject: Adjusted the way that Wrapping records works to clean up interfaces --- tests/testing.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tests/testing.h') diff --git a/tests/testing.h b/tests/testing.h index 3ffafcd..cd0045a 100644 --- a/tests/testing.h +++ b/tests/testing.h @@ -22,8 +22,6 @@ typedef de::WeightedRecord WRec; typedef de::Record Rec; -typedef de::WrappedRecord WrappedWRec; -typedef de::WrappedRecord WrappedRec; static bool initialize_test_file(std::string fname, size_t page_cnt) { @@ -149,18 +147,16 @@ static de::MutableBuffer *create_double_seq_mbuffer(size_t cnt, bool ts=false R rec; rec.key = i; rec.value = i; - if (ts) rec.set_tombstone(); - buffer->append(rec); + buffer->append(rec, ts); } for (size_t i = 0; i < cnt / 2; i++) { R rec; rec.key = i; rec.value = i + 1; - if (ts) rec.set_tombstone(); - buffer->append(rec); + buffer->append(rec, ts); } return buffer; -- cgit v1.2.3