pgpool2.git / summary / log / commit / refs
commit fe442b5324efceb3da8a1c3d5c3e1070d16ec908
Author: Toshihiro Kitagawa <kitagawa at sraoss.co.jp>
Date: Mon Aug 08 07:08:10 2011 +0000
Fix typo.
pool.h | 2 +-
pool_query_context.c | 6 +++---
pool_query_context.h | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pool.h b/pool.h
index 30aaef2ea..10f6276eb 100644
--- a/pool.h
+++ b/pool.h
@@ -278,7 +278,7 @@ extern BACKEND_STATUS* my_backend_status[];
#define CONNECTION(p, slot) (CONNECTION_SLOT(p, slot)->con)
/*
- * The first DB ndoe id appears in pgpool.conf or the first "live" DB
+ * The first DB node id appears in pgpool.conf or the first "live" DB
* node otherwise.
*/
#define REAL_MASTER_NODE_ID (Req_info->master_node_id)
diff --git a/pool_query_context.c b/pool_query_context.c
index 8972b4782..8acb71d24 100644
--- a/pool_query_context.c
+++ b/pool_query_context.c
@@ -114,7 +114,7 @@ void pool_set_node_to_be_sent(POOL_QUERY_CONTEXT *query_context, int node_id)
if (node_id < 0 || node_id > MAX_NUM_BACKENDS)
{
- pool_error("pool_set_node_to_be_sent: invalid ndoe id:%d", node_id);
+ pool_error("pool_set_node_to_be_sent: invalid node id:%d", node_id);
return;
}
@@ -136,7 +136,7 @@ void pool_unset_node_to_be_sent(POOL_QUERY_CONTEXT *query_context, int node_id)
if (node_id < 0 || node_id > MAX_NUM_BACKENDS)
{
- pool_error("pool_unset_node_to_be_sent: invalid ndoe id:%d", node_id);
+ pool_error("pool_unset_node_to_be_sent: invalid node id:%d", node_id);
return;
}
@@ -224,7 +224,7 @@ bool pool_is_node_to_be_sent(POOL_QUERY_CONTEXT *query_context, int node_id)
if (node_id < 0 || node_id > MAX_NUM_BACKENDS)
{
- pool_error("pool_is_node_to_be_sent: invalid ndoe id:%d", node_id);
+ pool_error("pool_is_node_to_be_sent: invalid node id:%d", node_id);
return false;
}
diff --git a/pool_query_context.h b/pool_query_context.h
index cddf9dfe3..a08514996 100644
--- a/pool_query_context.h
+++ b/pool_query_context.h
@@ -69,7 +69,7 @@ POOL_STATUS pool_send_and_wait(POOL_QUERY_CONTEXT *query_context, char *query, i
int send_type, int node_id, char *kind);
extern Node *pool_get_parse_tree(void);
extern char *pool_get_query_string(void);
-extern bool is_set_transaction_serializable(Node *ndoe, char *query);
+extern bool is_set_transaction_serializable(Node *node, char *query);
extern bool is_2pc_transaction_query(Node *node, char *query);
extern void pool_set_query_state(POOL_QUERY_CONTEXT *query_context, POOL_QUERY_STATE state);
extern int statecmp(POOL_QUERY_STATE s1, POOL_QUERY_STATE s2);
[parent: b8a1450ee8a1]