Skip to content

Commit

Permalink
Remove unecessary assert
Browse files Browse the repository at this point in the history
  • Loading branch information
bonnefoa committed Apr 16, 2024
1 parent 5572fdf commit 74e3516
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pg_tracing_planstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 74e3516

Please sign in to comment.