| 1520 | } |
| 1521 | |
| 1522 | static TupleTableSlot * |
| 1523 | ExecMergeJoin(PlanState *pstate) |
| 1524 | { |
| 1525 | TupleTableSlot *result; |
| 1526 | |
| 1527 | result = ExecMergeJoin_guts(pstate); |
| 1528 | |
| 1529 | if (TupIsNull(result)) |
| 1530 | { |
| 1531 | /* |
| 1532 | * CDB: We'll read no more from inner subtree. To keep our sibling |
| 1533 | * QEs from being starved, tell source QEs not to clog up the |
| 1534 | * pipeline with our never-to-be-consumed data. |
| 1535 | */ |
| 1536 | ExecSquelchNode(pstate, false); |
| 1537 | } |
| 1538 | |
| 1539 | return result; |
| 1540 | } |
| 1541 | |
| 1542 | /* ---------------------------------------------------------------- |
| 1543 | * ExecInitMergeJoin |
nothing calls this directly
no test coverage detected