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