Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ignore error of pool_flush(frontend).

  • Loading branch information...
commit 0b3b6c8bf2a435e2fe1659bce3fb049cf96620b3 1 parent f75c146
t-ishii authored
Showing with 4 additions and 6 deletions.
  1. +2 −3 pool_process_query.c
  2. +2 −3 pool_proto_modules.c
View
5 pool_process_query.c
@@ -1,6 +1,6 @@
/* -*-pgsql-c-*- */
/*
- * $Header: /cvsroot/pgpool/pgpool-II/pool_process_query.c,v 1.178 2009/12/06 07:43:59 t-ishii Exp $
+ * $Header: /cvsroot/pgpool/pgpool-II/pool_process_query.c,v 1.179 2009/12/06 07:52:49 t-ishii Exp $
*
* pgpool: a language independent connection pool server for PostgreSQL
* written by Tatsuo Ishii
@@ -1634,8 +1634,7 @@ POOL_STATUS SimpleForwardToBackend(char kind, POOL_CONNECTION *frontend, POOL_CO
if (ret != POOL_CONTINUE)
return ret;
SimpleForwardToFrontend(kind1, frontend, backend);
- if (pool_flush(frontend) < 0)
- return POOL_ERROR;
+ pool_flush(frontend);
if (kind1 != 'N')
break;
View
5 pool_proto_modules.c
@@ -1,6 +1,6 @@
/* -*-pgsql-c-*- */
/*
- * $Header: /cvsroot/pgpool/pgpool-II/pool_proto_modules.c,v 1.27 2009/12/06 07:46:57 t-ishii Exp $
+ * $Header: /cvsroot/pgpool/pgpool-II/pool_proto_modules.c,v 1.28 2009/12/06 07:52:49 t-ishii Exp $
*
* pgpool: a language independent connection pool server for PostgreSQL
* written by Tatsuo Ishii
@@ -1268,8 +1268,7 @@ POOL_STATUS Parse(POOL_CONNECTION *frontend,
return ret;
SimpleForwardToFrontend(kind, frontend, backend);
- if (pool_flush(frontend) < 0)
- return POOL_ERROR;
+ pool_flush(frontend);
/* Ignore warning messages */
if (kind != 'N')
Please sign in to comment.
Something went wrong with that request. Please try again.