Skip to content

Commit 2a42f35

Browse files
committed
fix: final build fix for execute_update
1 parent f9b3807 commit 2a42f35

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/executor/query_executor.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ QueryResult QueryExecutor::execute_update(const parser::UpdateStatement& stmt,
670670
if (log_manager_ != nullptr && txn != nullptr) {
671671
recovery::LogRecord log(txn->get_id(), txn->get_prev_lsn(),
672672
recovery::LogRecordType::MARK_DELETE, table_name, op.rid,
673-
old_tuple);
673+
op.old_tuple);
674674
const auto lsn = log_manager_->append_log_record(log);
675675
txn->set_prev_lsn(lsn);
676676
}
@@ -733,6 +733,7 @@ std::unique_ptr<Operator> QueryExecutor::build_plan(const parser::SelectStatemen
733733
buffer_schema.add_column(col.name, col.type);
734734
}
735735
}
736+
736737
std::cerr << "--- [BuildPlan] Table " << base_table_name
737738
<< " found in SHUFFLE buffer. Schema size=" << buffer_schema.column_count()
738739
<< " ---" << std::endl;
@@ -829,6 +830,7 @@ std::unique_ptr<Operator> QueryExecutor::build_plan(const parser::SelectStatemen
829830
buffer_schema.add_column(col.name, col.type);
830831
}
831832
}
833+
832834
std::cerr << "--- [BuildPlan] JOIN Table " << join_table_name
833835
<< " found in SHUFFLE buffer. Schema size=" << buffer_schema.column_count()
834836
<< " ---" << std::endl;

0 commit comments

Comments
 (0)