Fix typo.
authorToshihiro Kitagawa <kitagawa at sraoss.co.jp>
Mon, 8 Aug 2011 07:08:10 +0000 (07:08 +0000)
committerToshihiro Kitagawa <kitagawa at sraoss.co.jp>
Mon, 8 Aug 2011 07:08:10 +0000 (07:08 +0000)
pool.h
pool_query_context.c
pool_query_context.h

diff --git a/pool.h b/pool.h
index 30aaef2eab00cef4fec1ff846dc0eda5ef3333c3..10f6276ebac71a2312f444acdd43434f79ec92f3 100644 (file)
--- 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)
index 8972b478238e306719a7fa7e3d760e187cabc95f..8acb71d24a6a1ba1a5e5b055238699cfc286d244 100644 (file)
@@ -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;
        }
 
index cddf9dfe3c1389f287704d675cb79c31db8b2584..a08514996abf40f3c781bd00b76612796c34f3cd 100644 (file)
@@ -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);