remove_socket_check
Onder Kalaci 2022-11-18 16:59:27 +01:00
parent 1e5096e29d
commit ffd627a6e4
1 changed files with 5 additions and 4 deletions

View File

@ -5490,8 +5490,8 @@ BuildWaitEventSet(List *sessionList, bool socketClosedOnly)
if (!socketClosedOnly)
{
CitusAddWaitEventSetToSet(waitEventSet, WL_LATCH_SET, PGINVALID_SOCKET, MyLatch,
NULL);
CitusAddWaitEventSetToSet(waitEventSet, WL_LATCH_SET, PGINVALID_SOCKET, MyLatch,
NULL);
}
return waitEventSet;
@ -5538,8 +5538,9 @@ AddSessionToWaitEventSet(WorkerSession *session, WaitEventSet *waitEventSet,
sock,
NULL, (void *) session);
#else
/* socketClosedOnly is only true for */
Assert (false);
/* socketClosedOnly is only true for */
Assert(false);
#endif
}
else