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

Tatsuo Ishii ishii at postgresql.org
Thu Jun 28 11:36:28 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
------
master

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

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



More information about the pgpool-committers mailing list