1 | #include "duckdb/common/vector_operations/vector_operations.hpp" |
---|---|
2 | #include "duckdb/execution/expression_executor.hpp" |
3 | #include "duckdb/planner/expression/bound_parameter_expression.hpp" |
4 | |
5 | using namespace duckdb; |
6 | using namespace std; |
7 | |
8 | unique_ptr<ExpressionState> ExpressionExecutor::InitializeState(BoundParameterExpression &expr, |
9 | ExpressionExecutorState &root) { |
10 | return nullptr; |
11 | } |
12 | |
13 | void ExpressionExecutor::Execute(BoundParameterExpression &expr, ExpressionState *state, const SelectionVector *sel, |
14 | idx_t count, Vector &result) { |
15 | assert(expr.value); |
16 | assert(expr.value->type == expr.return_type); |
17 | result.Reference(*expr.value); |
18 | } |
19 |