Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit a8af9b3

Browse files
Explicitly clear the rw_set_ object
1 parent ec41e65 commit a8af9b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/concurrency/transaction_context.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ void TransactionContext::Init(const size_t thread_id,
9595

9696
insert_count_ = 0;
9797

98+
rw_set_.Clear();
9899
gc_set_.reset(new GCSet());
99100
gc_object_set_.reset(new GCObjectSet());
100101

0 commit comments

Comments
 (0)