| 197 | } |
| 198 | |
| 199 | static OpBase *CreateClone(const ExecutionPlan *plan, const OpBase *opBase) { |
| 200 | ASSERT(opBase->type == OPType_CREATE); |
| 201 | OpCreate *op = (OpCreate *)opBase; |
| 202 | NodeCreateCtx *nodes; |
| 203 | EdgeCreateCtx *edges; |
| 204 | array_clone_with_cb(nodes, op->pending.nodes_to_create, NodeCreateCtx_Clone); |
| 205 | array_clone_with_cb(edges, op->pending.edges_to_create, EdgeCreateCtx_Clone); |
| 206 | return NewCreateOp(plan, nodes, edges); |
| 207 | } |
| 208 | |
| 209 | static void CreateFree(OpBase *ctx) { |
| 210 | OpCreate *op = (OpCreate *)ctx; |
nothing calls this directly
no test coverage detected