diff --git a/src/execution/executor_insert.h b/src/execution/executor_insert.h index ad0f4fea570886e5023553c0011122ab4ff0c5e7..c393c09f47c24e40c9d5e757dd1e52002cf583db 100644 --- a/src/execution/executor_insert.h +++ b/src/execution/executor_insert.h @@ -93,7 +93,7 @@ class InsertExecutor : public AbstractExecutor { // Insert into record file rid_ = fh_->insert_record(rec.data, context_); - //context_->lock_mgr_->lock_exclusive_on_record(context_->txn_, rid_, fh_->GetFd()); + context_->lock_mgr_->lock_exclusive_on_record(context_->txn_, rid_, fh_->GetFd()); // Insert into index for(size_t i = 0; i < tab_.indexes.size(); ++i) { auto& index = tab_.indexes[i];