| 379 | } |
| 380 | |
| 381 | static TupleTableSlot * |
| 382 | ExecNestLoop(PlanState *pstate) |
| 383 | { |
| 384 | TupleTableSlot *result; |
| 385 | |
| 386 | result = ExecNestLoop_guts(pstate); |
| 387 | |
| 388 | if (TupIsNull(result)) |
| 389 | { |
| 390 | /* |
| 391 | * CDB: We'll read no more from inner subtree. To keep our |
| 392 | * sibling QEs from being starved, tell source QEs not to |
| 393 | * clog up the pipeline with our never-to-be-consumed |
| 394 | * data. |
| 395 | */ |
| 396 | ExecSquelchNode(pstate, false); |
| 397 | } |
| 398 | |
| 399 | return result; |
| 400 | } |
| 401 | |
| 402 | /* ---------------------------------------------------------------- |
| 403 | * ExecInitNestLoop |
nothing calls this directly
no test coverage detected