Skip to content

Commit

Permalink
Remove meaningless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kovmir committed Sep 12, 2023
1 parent be40f24 commit 4fe9ee8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pg_show_plans.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ append_query_plan(ExplainState *es)
new_plan->len--; /* Discard '\n'. */

if (new_plan->len < space_left) { /* Enough space for a new plan. */
/* -1 to dispose of '\n'. */
memcpy(pgsp_cache->plan + offset,
new_plan->data, new_plan->len);
pgsp_cache->plan[offset + new_plan->len] = '\0';
Expand Down

0 comments on commit 4fe9ee8

Please sign in to comment.