pgpool2.git / summary / log / commit / refs
commit c821498d47e16addd29145bc06043fec134a7619
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: Fri Jul 13 06:20:26 2012 +0000
Remove unused parameter "query" from is_set_transaction_serializable().
pool_proto_modules.c | 2 +-
pool_query_context.c | 2 +-
pool_query_context.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pool_proto_modules.c b/pool_proto_modules.c
index de986c908..9b1958bb8 100644
--- a/pool_proto_modules.c
+++ b/pool_proto_modules.c
@@ -1692,7 +1692,7 @@ POOL_STATUS ReadyForQuery(POOL_CONNECTION *frontend,
* SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL
* SERIALIZABLE, remember it.
*/
- else if (is_set_transaction_serializable(node, query))
+ else if (is_set_transaction_serializable(node))
{
pool_set_transaction_isolation(POOL_SERIALIZABLE);
}
diff --git a/pool_query_context.c b/pool_query_context.c
index 45f6c968c..f64a0d1ae 100644
--- a/pool_query_context.c
+++ b/pool_query_context.c
@@ -1293,7 +1293,7 @@ char *pool_get_query_string(void)
* SET transaction_isolation TO 'serializable'
* SET default_transaction_isolation TO 'serializable'
*/
-bool is_set_transaction_serializable(Node *node, char *query)
+bool is_set_transaction_serializable(Node *node)
{
ListCell *list_item;
diff --git a/pool_query_context.h b/pool_query_context.h
index eab1f673c..9a612c32b 100644
--- a/pool_query_context.h
+++ b/pool_query_context.h
@@ -86,7 +86,7 @@ extern POOL_STATUS pool_send_and_wait(POOL_QUERY_CONTEXT *query_context, int sen
extern POOL_STATUS pool_extended_send_and_wait(POOL_QUERY_CONTEXT *query_context, char *kind, int len, char *contents, int send_type, int node_id);
extern Node *pool_get_parse_tree(void);
extern char *pool_get_query_string(void);
-extern bool is_set_transaction_serializable(Node *node, char *query);
+extern bool is_set_transaction_serializable(Node *node);
extern bool is_start_transaction_query(Node *node);
extern bool is_read_write(TransactionStmt *node);
extern bool is_serializable(TransactionStmt *node);
[parent: a4a9c4ab0c16]