projects
/
pgpool1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644920c
)
Fix bug with call to select(2)
author
Tatsuo Ishii
<ishii at sraoss.co.jp>
Thu, 16 Feb 2006 14:32:01 +0000
(14:32 +0000)
committer
Tatsuo Ishii
<ishii at sraoss.co.jp>
Thu, 16 Feb 2006 14:32:01 +0000
(14:32 +0000)
pool_process_query.c
patch
|
blob
|
blame
|
history
diff --git
a/pool_process_query.c
b/pool_process_query.c
index ce240bea06fa2cd530ee42a84489fcc3bf33a9a4..0f565eaccc35ebe8351971c7d4ac46488e867e1f 100644
(file)
--- a/
pool_process_query.c
+++ b/
pool_process_query.c
@@
-215,7
+215,7
@@
POOL_STATUS pool_process_query(POOL_CONNECTION *frontend,
{
if (DUAL_MODE)
fds = select(Max(SECONDARY(backend)->fd,
- Max(frontend->fd, MASTER(backend)->fd)
+1)
,
+ Max(frontend->fd, MASTER(backend)->fd)
) + 1
,
&readmask, &writemask, &exceptmask, NULL);
else
fds = select(Max(frontend->fd, MASTER(backend)->fd)+1,