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

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbutrovich committed Jun 13, 2018
1 parent ac0a760 commit ad0381d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concurrency/transaction_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void TransactionContext::RecordUpdate(const ItemPointer &location) {
(rw_set_[location] != RWType::DELETE &&
rw_set_[location] != RWType::INS_DEL));
auto rw_set_it = rw_set_.find(location);
if (rw_set_it != rw_set_.end() {
if (rw_set_it != rw_set_.end()) {
if (rw_set_it->second == RWType::READ || rw_set_it->second == RWType::READ_OWN) {
rw_set_it->second = RWType::UPDATE;
}
Expand Down

0 comments on commit ad0381d

Please sign in to comment.