projects
/
pgpool1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c3ac27
)
Previous commit does not fix deadlock error in Execute().
author
Yoshiyuki Asaba
<y-asaba at pgfoundry.org>
Wed, 11 Jul 2007 02:08:01 +0000
(
02:08
+0000)
committer
Yoshiyuki Asaba
<y-asaba at pgfoundry.org>
Wed, 11 Jul 2007 02:08:01 +0000
(
02:08
+0000)
pool_process_query.c
patch
|
blob
|
blame
|
history
diff --git
a/pool_process_query.c
b/pool_process_query.c
index e7b11fc91a7593a4e4a9416879906937f313b39b..d34f59b9d02b55573ac96a3c119e045861676d61 100644
(file)
--- a/
pool_process_query.c
+++ b/
pool_process_query.c
@@
-877,10
+877,11
@@
static POOL_STATUS Execute(POOL_CONNECTION *frontend,
*/
pool_write(cp, "H", 1);
sendlen = htonl(4);
- }
- if (pool_write_and_flush(cp, &sendlen, sizeof(sendlen)) < 0)
- {
- return POOL_ERROR;
+
+ if (pool_write_and_flush(cp, &sendlen, sizeof(sendlen)) < 0)
+ {
+ return POOL_ERROR;
+ }
}
if (!REPLICATION)