pgpool2.git / summary / log / commit / refs
commit 86969a305224f81de8dcb2db0a9bd12f8bd20d9b
Author: Tatsuo Ishii <ishii at sraoss.co.jp>
Date: Fri May 01 00:37:24 2009 +0000
Add missing patches for this:
date: 2009/04/08 11:12:11; author: t-ishii; state: Exp; lines: +15 -14
In master slave mode, sometimes DEALLOCATE fails. This is caused
by that the first PREPARE was not executed on the slave.
Patch contributed by Toshihiro Kitagawa.
pool_proto_modules.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pool_proto_modules.c b/pool_proto_modules.c
index d53b5d953..a7e32b22f 100644
--- a/pool_proto_modules.c
+++ b/pool_proto_modules.c
@@ -1442,6 +1442,8 @@ POOL_STATUS ProcessFrontendResponse(POOL_CONNECTION *frontend,
if (receive_extended_begin)
{
+ receive_extended_begin = 0;
+
/* send sync message */
send_extended_protocol_message(backend, MASTER_NODE_ID, "S", 0, "");
[parent: f5b52e69e577]