pgpool2.git / summary / log / commit / refs
commit fd0dc603d328967f432c0bd3411e00ade6370d5d
Author: Tatsuo Ishii <ishii at sraoss.co.jp>
Date: Tue Jul 13 08:36:45 2010 +0000
Fix end_internal_transaction: Use INTERNAL_TRANSACTION_STARTED macro
at proper position.
pool_process_query.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pool_process_query.c b/pool_process_query.c
index cc384f311..528e346d5 100644
--- a/pool_process_query.c
+++ b/pool_process_query.c
@@ -1233,6 +1233,7 @@ POOL_STATUS SimpleForwardToFrontend(char kind, POOL_CONNECTION *frontend, POOL_C
*/
pool_remove_pending_objects();
}
+
/*
* The response of Execute command will be EmptyQueryResponse(I),
* if Bind error occurs.
@@ -4154,8 +4155,8 @@ POOL_STATUS start_internal_transaction(POOL_CONNECTION *frontend, POOL_CONNECTIO
/* Mark that we started new transaction */
INTERNAL_TRANSACTION_STARTED(backend, i) = true;
+ pool_unset_writing_transaction();
}
- pool_unset_writing_transaction();
}
}
return POOL_CONTINUE;
[parent: 219c85db1c85]