From 74e3516ede7b9a4484a512e4f3dd0dc0a9b89bd6 Mon Sep 17 00:00:00 2001 From: Anthonin Bonnefoy Date: Tue, 16 Apr 2024 09:22:59 +0200 Subject: [PATCH] Remove unecessary assert --- src/pg_tracing_planstate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pg_tracing_planstate.c b/src/pg_tracing_planstate.c index 37ff390..4b6eb82 100644 --- a/src/pg_tracing_planstate.c +++ b/src/pg_tracing_planstate.c @@ -593,7 +593,6 @@ create_span_node(PlanState *planstate, const planstateTraceContext * planstateTr if (!planstate->state->es_finished) span.sql_error_code = planstateTraceContext->sql_error_code; - Assert(planstate->instrument->total > 0); end_span(&span, &span_end); return span;