pgpool2.git / summary / log / commit / refs
commit a1b9dcb14a5e4cfe9097a5e11d9b3fe6dbbbe1ba
Author: Yoshiyuki Asaba <y-asaba at pgfoundry.org>
Date: Thu Mar 27 02:53:36 2008 +0000
Improve network I/O routine.
pool_process_query.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/pool_process_query.c b/pool_process_query.c
index 724f167e7..74b7eadb4 100644
--- a/pool_process_query.c
+++ b/pool_process_query.c
@@ -1966,8 +1966,6 @@ static POOL_STATUS ReadyForQuery(POOL_CONNECTION *frontend,
if (send_ready)
{
- pool_flush(frontend);
-
pool_write(frontend, "Z", 1);
if (MAJOR(backend) == PROTO_MAJOR_V3)
@@ -3895,8 +3893,6 @@ POOL_STATUS SimpleForwardToFrontend(char kind, POOL_CONNECTION *frontend, POOL_C
ret = SimpleForwardToFrontend(kind1, frontend, backend);
if (ret != POOL_CONTINUE)
return ret;
- if (pool_flush(frontend))
- return POOL_END;
}
if (ret != POOL_CONTINUE)
[parent: a29a35860a35]