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

Commit

Permalink
add LOG_TRACE when ending transaction early
Browse files Browse the repository at this point in the history
  • Loading branch information
lmwnshn committed Jun 12, 2018
1 parent 5711dc2 commit 6787337
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/concurrency/timestamp_ordering_transaction_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ ResultType TimestampOrderingTransactionManager::CommitTransaction(

// if no modifying queries, treat as read-only
if (rw_set.empty()) {
LOG_TRACE("Empty RW set, ending transaction.");
EndTransaction(current_txn);
return ResultType::SUCCESS;
}
Expand Down

0 comments on commit 6787337

Please sign in to comment.