pgpool2.git / summary / log / commit / refs
commit 4e7670b5728008fa35a768509c7c68f849b6f99d
Author: Tatsuo Ishii <ishii at sraoss.co.jp>
Date: Sat Dec 20 11:12:18 2008 +0000
Enhance and fix comments related to Query()
pool_proto_modules.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pool_proto_modules.c b/pool_proto_modules.c
index b8b3c8172..60596b4d3 100644
--- a/pool_proto_modules.c
+++ b/pool_proto_modules.c
@@ -73,7 +73,7 @@ int allow_close_transaction = 1;
PreparedStatementList prepared_list; /* prepared statement name list */
int is_select_pgcatalog = 0;
-int is_select_for_update = 0; /* also for SELECT ... INTO */
+int is_select_for_update = 0; /* 1 if SELECT INTO or SELECT FOR UPDATE */
bool is_parallel_table = false;
char *parsed_query = NULL;
@@ -220,7 +220,7 @@ POOL_STATUS NotificationResponse(POOL_CONNECTION *frontend,
{
if(r_query->r_code == SEND_LOADBALANCE_ENGINE)
{
- /* use rewrited query */
+ /* use rewritten query */
string = r_query->rewrite_query;
/* change query length */
len = strlen(string)+1;
[parent: f4b05566af69]