1#include "duckdb/execution/operator/helper/physical_prepare.hpp"
2#include "duckdb/main/client_data.hpp"
3
4namespace duckdb {
5
6SourceResultType PhysicalPrepare::GetData(ExecutionContext &context, DataChunk &chunk,
7 OperatorSourceInput &input) const {
8 auto &client = context.client;
9
10 // store the prepared statement in the context
11 ClientData::Get(context&: client).prepared_statements[name] = prepared;
12
13 return SourceResultType::FINISHED;
14}
15
16} // namespace duckdb
17