diff options
| -rw-r--r-- | pool_process_query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pool_process_query.c b/pool_process_query.c index e821f001a..db0931ec2 100644 --- a/pool_process_query.c +++ b/pool_process_query.c @@ -930,7 +930,7 @@ POOL_STATUS wait_for_query_response(POOL_CONNECTION *frontend, POOL_CONNECTION * if (pool_flush_it(frontend) < 0) { pool_error("wait_for_query_response: frontend error occured while waiting for backend reply"); - return POOL_END; + return POOL_END_WITH_FRONTEND_ERROR; } } else /* Protocol version 2 */ @@ -951,7 +951,7 @@ POOL_STATUS wait_for_query_response(POOL_CONNECTION *frontend, POOL_CONNECTION * if (pool_flush_it(frontend) < 0) { pool_error("wait_for_query_response: frontend error occured while waiting for backend reply"); - return POOL_END; + return POOL_END_WITH_FRONTEND_ERROR; } #endif } |
