Remove unnecessary logging at the end of parsing.
authorTatsuo Ishii <ishii at sraoss.co.jp>
Fri, 6 May 2011 22:33:32 +0000 (22:33 +0000)
committerTatsuo Ishii <ishii at sraoss.co.jp>
Fri, 6 May 2011 22:33:32 +0000 (22:33 +0000)
pool_config.c
pool_config.l

index ad05476fd65a0a375de8b61fbb6cc11653a17ea4..89f77d0dbeaddbfd75932d92d15d655cbba98aaf 100644 (file)
@@ -490,7 +490,7 @@ char *yytext;
  * pgpool: a language independent connection pool server for PostgreSQL 
  * written by Tatsuo Ishii
  *
- * Copyright (c) 2003-2010     PgPool Global Development Group
+ * Copyright (c) 2003-2011     PgPool Global Development Group
  *
  * Permission to use, copy, modify, and distribute this software and
  * its documentation for any purpose and without fee is hereby
@@ -2069,12 +2069,6 @@ int pool_get_config(char *confpath, POOL_CONFIG_CONTEXT context)
        for(;;)
        {
                token = yylex();
-               if (token == 0)
-               {
-                       pool_log("pool_get_config: no token available. parsing pgpool.conf done");
-                       break;
-               }
-
                if (token == POOL_PARSE_ERROR)
                {
                        PARSE_ERROR();
index 77cbbf20aa1be5b400045863d00688e9494820db..cce866504436a322ef2459d8673ad6defb926a5c 100644 (file)
@@ -6,7 +6,7 @@
  * pgpool: a language independent connection pool server for PostgreSQL 
  * written by Tatsuo Ishii
  *
- * Copyright (c) 2003-2010     PgPool Global Development Group
+ * Copyright (c) 2003-2011     PgPool Global Development Group
  *
  * Permission to use, copy, modify, and distribute this software and
  * its documentation for any purpose and without fee is hereby
@@ -344,12 +344,6 @@ int pool_get_config(char *confpath, POOL_CONFIG_CONTEXT context)
        for(;;)
        {
                token = yylex();
-               if (token == 0)
-               {
-                       pool_log("pool_get_config: no token available. parsing pgpool.conf done");
-                       break;
-               }
-
                if (token == POOL_PARSE_ERROR)
                {
                        PARSE_ERROR();