[pgpool-committers: 4833] pgpool: Fix find_primary_node() return value in commit f0631a6.

Tatsuo Ishii ishii at postgresql.org
Thu Jun 28 23:28:38 JST 2018


Fix find_primary_node() return value in commit f0631a6.

In this commit find_primary_node() returns 0, rather than -1 if no
primary node exists. This is not correct and should be set to -1.
Also fix some thinko in this commit.

Problem pointed out by Muhammad Usama.

Branch
------
query_cache

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=e3a437c8415d52a3cae614c74194208d77e6d44c

Modified Files
--------------
src/main/pgpool_main.c | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)



More information about the pgpool-committers mailing list