Skip to content

Commit d164f56

Browse files
committed
This is a fix for clean connection crash as:
CLEAN CONNECTION TO ALL FORCE FOR dbname; Patch was provided by Wang Diancheng.
1 parent cae096b commit d164f56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/pgxc/pool/poolcomm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ pool_recvpids(PoolPort *port, int **pids)
778778
{
779779
int n;
780780
memcpy(&n, buf + 5 + i * sizeof(int), sizeof(int));
781-
*pids[i] = ntohl(n);
781+
(*pids)[i] = ntohl(n);
782782
}
783783
return n32;
784784

0 commit comments

Comments
 (0)