Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
small-turtle-1 committed Oct 8, 2024
1 parent db44150 commit aef859b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions benchmark/local_infinity/sparse/sparse_benchmark_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import infinity_exception;
import sparse_util;
import compilation_config;
import bmp_util;
import local_file_handle;

using namespace infinity;

Expand Down
2 changes: 1 addition & 1 deletion src/storage/txn/txn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ void Txn::Rollback() {
}

void Txn::AddWalCmd(const SharedPtr<WalCmd> &cmd) {
// std::lock_guard guard(txn_store_.mtx_);
std::lock_guard guard(txn_store_.mtx_); // TODO remove this line.
auto state = txn_context_.GetTxnState();
if (state != TxnState::kStarted) {
auto begin_ts = BeginTS();
Expand Down

0 comments on commit aef859b

Please sign in to comment.