MCPcopy Create free account
hub / github.com/apache/cloudberry / ExecEndBitmapOr

Function ExecEndBitmapOr

src/backend/executor/nodeBitmapOr.c:217–238  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecEndBitmapOr * * Shuts down the subscans of the BitmapOr node. * * Returns nothing of interest. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

215 * ----------------------------------------------------------------
216 */
217void
218ExecEndBitmapOr(BitmapOrState *node)
219{
220 PlanState **bitmapplans;
221 int nplans;
222 int i;
223
224 /*
225 * get information from the node
226 */
227 bitmapplans = node->bitmapplans;
228 nplans = node->nplans;
229
230 /*
231 * shut down each of the subscans (that we've initialized)
232 */
233 for (i = 0; i < nplans; i++)
234 {
235 if (bitmapplans[i])
236 ExecEndNode(bitmapplans[i]);
237 }
238}
239
240void
241ExecReScanBitmapOr(BitmapOrState *node)

Callers 1

ExecEndNodeFunction · 0.85

Calls 1

ExecEndNodeFunction · 0.85

Tested by

no test coverage detected