projects
/
pgpool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ff077b
)
Fix ProcessBackendResponse() so that it calls pool_unset_command_success()
author
Tatsuo Ishii
<ishii at sraoss.co.jp>
Wed, 20 Jul 2011 10:41:10 +0000
(10:41 +0000)
committer
Tatsuo Ishii
<ishii at sraoss.co.jp>
Wed, 20 Jul 2011 10:41:10 +0000
(10:41 +0000)
rather than pool_set_command_success() when received Error Response.
pool_proto_modules.c
patch
|
blob
|
blame
|
history
diff --git
a/pool_proto_modules.c
b/pool_proto_modules.c
index ca8e6933b0d6884f6dda8947b4d607ef58887472..2f113571d19f6c853c5248eb1359e14bc29e25bb 100644
(file)
--- a/
pool_proto_modules.c
+++ b/
pool_proto_modules.c
@@
-2142,7
+2142,7
@@
POOL_STATUS ProcessBackendResponse(POOL_CONNECTION *frontend,
case 'E': /* ErrorResponse */
status = ErrorResponse3(frontend, backend);
- pool_set_command_success();
+ pool_
un
set_command_success();
if (TSTATE(backend, MASTER_SLAVE ? PRIMARY_NODE_ID :
REAL_MASTER_NODE_ID) != 'I')
pool_set_failed_transaction();