Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6eb2be1

Browse files
committed
Fix stupid omission inc4901a1.
Reported-By: Jeff JanesDiscussion: CAMkU=1zGxREwoyaCrp_CHadEB+dPgpVyKBysCJ+6xP9gCOvAuw@mail.gmail.com
1 parent07aed46 commit6eb2be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/port/unix_latch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ WaitLatchOrSocket(volatile Latch *latch, int wakeEvents, pgsocket sock,
389389
/* socket is writable */
390390
result |=WL_SOCKET_WRITEABLE;
391391
}
392-
if ((wakeEvents&WL_SOCKET_WRITEABLE)&&
392+
if ((wakeEvents&(WL_SOCKET_READABLE |WL_SOCKET_WRITEABLE))&&
393393
(pfds[1].revents& (POLLHUP |POLLERR |POLLNVAL)))
394394
{
395395
/* EOF/error condition */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp