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

Commit 07d75b3

Browse files
committed
Formatting.
1 parent 6779ba7 commit 07d75b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/concurrency/transaction_context.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ 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() && (rw_set_it->second == RWType::READ || rw_set_it->second == RWType::READ_OWN)) {
118+
if (rw_set_it != rw_set_.end() && (rw_set_it->second == RWType::READ ||
119+
rw_set_it->second == RWType::READ_OWN)) {
119120
rw_set_it->second = RWType::UPDATE;
120121
}
121122
}

0 commit comments

Comments
 (0)