aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/executor/execMain.c')
-rw-r--r--src/backend/executor/execMain.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c
index c865032a80f..1e97ff5643f 100644
--- a/src/backend/executor/execMain.c
+++ b/src/backend/executor/execMain.c
@@ -495,21 +495,6 @@ standard_ExecutorEnd(QueryDesc *queryDesc)
ExecEndPlan(queryDesc->planstate, estate);
- /*
- * If this process has done JIT, either merge stats into worker stats, or
- * use this process' stats as the global stats if no parallelism was used
- * / no workers did JIT.
- */
- if (estate->es_instrument && queryDesc->estate->es_jit)
- {
- if (queryDesc->estate->es_jit_combined_instr)
- InstrJitAgg(queryDesc->estate->es_jit_combined_instr,
- &queryDesc->estate->es_jit->instr);
- else
- queryDesc->estate->es_jit_combined_instr =
- &queryDesc->estate->es_jit->instr;
- }
-
/* do away with our snapshots */
UnregisterSnapshot(estate->es_snapshot);
UnregisterSnapshot(estate->es_crosscheck_snapshot);