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

Commit ad0381d

Browse files
committed
Fix typo.
1 parent ac0a760 commit ad0381d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/concurrency/transaction_context.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void TransactionContext::RecordUpdate(const ItemPointer &location) {
115115
(rw_set_[location] != RWType::DELETE &&
116116
rw_set_[location] != RWType::INS_DEL));
117117
auto rw_set_it = rw_set_.find(location);
118-
if (rw_set_it != rw_set_.end() {
118+
if (rw_set_it != rw_set_.end()) {
119119
if (rw_set_it->second == RWType::READ || rw_set_it->second == RWType::READ_OWN) {
120120
rw_set_it->second = RWType::UPDATE;
121121
}

0 commit comments

Comments
 (0)