| 311 | } |
| 312 | |
| 313 | static OpBase *MergeCreateClone(const ExecutionPlan *plan, const OpBase *opBase) { |
| 314 | ASSERT(opBase->type == OPType_MERGE_CREATE); |
| 315 | OpMergeCreate *op = (OpMergeCreate *)opBase; |
| 316 | NodeCreateCtx *nodes; |
| 317 | EdgeCreateCtx *edges; |
| 318 | array_clone_with_cb(nodes, op->pending.nodes_to_create, NodeCreateCtx_Clone); |
| 319 | array_clone_with_cb(edges, op->pending.edges_to_create, EdgeCreateCtx_Clone); |
| 320 | return NewMergeCreateOp(plan, nodes, edges); |
| 321 | } |
| 322 | |
| 323 | static void MergeCreateFree(OpBase *ctx) { |
| 324 | OpMergeCreate *op = (OpMergeCreate *)ctx; |
nothing calls this directly
no test coverage detected