| 58 | |
| 59 | struct ExecPlanImpl : public ExecPlan { |
| 60 | explicit ExecPlanImpl(QueryOptions options, ExecContext exec_context, |
| 61 | std::shared_ptr<const KeyValueMetadata> metadata = nullptr, |
| 62 | std::shared_ptr<ThreadPool> owned_thread_pool = nullptr) |
| 63 | : metadata_(std::move(metadata)), |
| 64 | query_context_(options, exec_context), |
| 65 | owned_thread_pool_(std::move(owned_thread_pool)) {} |
| 66 | |
| 67 | ~ExecPlanImpl() override { |
| 68 | if (started_ && !finished_.is_finished()) { |
nothing calls this directly
no outgoing calls
no test coverage detected