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

Function CopyPlannerConfig

src/backend/optimizer/plan/planmain.c:370–377  ·  view source on GitHub ↗

* Copy configuration information */

Source from the content-addressed store, hash-verified

368 * Copy configuration information
369 */
370PlannerConfig *
371CopyPlannerConfig(const PlannerConfig *c1)
372{
373 PlannerConfig *c2 = (PlannerConfig *) palloc(sizeof(PlannerConfig));
374
375 memcpy(c2, c1, sizeof(PlannerConfig));
376 return c2;
377}

Callers 6

make_subplanFunction · 0.85
pull_up_simple_subqueryFunction · 0.85
recurse_set_operationsFunction · 0.85
set_subquery_pathlistFunction · 0.85
set_cte_pathlistFunction · 0.85

Calls 1

pallocFunction · 0.50

Tested by

no test coverage detected