Skip to content

Commit

Permalink
Fix merge issues introduced in f26b35b
Browse files Browse the repository at this point in the history
Signed-off-by: Shard Gupta <[email protected]>
  • Loading branch information
shardgupta committed Nov 11, 2024
1 parent e1a7f16 commit 3b3c493
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/backend/utils/activity/backend_status.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ CreateSharedBackendStatus(void)

/* Initialize st_sslstatus pointers. */
ptr = BackendSslStatusBuffer;
for (i = 0; i < NumBackendStatSlots; i++)
for (procNumber = 0; procNumber < NumBackendStatSlots; procNumber++)
{
BackendStatusArray[i].st_sslstatus = ptr;
BackendStatusArray[procNumber].st_sslstatus = ptr;
ptr++;
}
}
Expand All @@ -226,9 +226,9 @@ CreateSharedBackendStatus(void)

/* Initialize st_gssstatus pointers. */
ptr = BackendGssStatusBuffer;
for (i = 0; i < NumBackendStatSlots; i++)
for (procNumber = 0; procNumber < NumBackendStatSlots; procNumber++)
{
BackendStatusArray[i].st_gssstatus = ptr;
BackendStatusArray[procNumber].st_gssstatus = ptr;
ptr++;
}
}
Expand Down

0 comments on commit 3b3c493

Please sign in to comment.