| 300 | } |
| 301 | |
| 302 | void MergeCreate_Commit(OpBase *opBase) { |
| 303 | OpMergeCreate *op = (OpMergeCreate *)opBase; |
| 304 | op->handoff_mode = true; |
| 305 | /* Done reading, we're not going to call consume any longer |
| 306 | * there might be operations e.g. index scan that need to free |
| 307 | * index R/W lock, as such free all execution plan operation up the chain. */ |
| 308 | if(opBase->childCount > 0) OpBase_PropagateReset(opBase->children[0]); |
| 309 | // Create entities. |
| 310 | CommitNewEntities(opBase, &op->pending); |
| 311 | } |
| 312 | |
| 313 | static OpBase *MergeCreateClone(const ExecutionPlan *plan, const OpBase *opBase) { |
| 314 | ASSERT(opBase->type == OPType_MERGE_CREATE); |
no test coverage detected