[pgpool-general: 7007] Re: found some unnecessary checks in pool_auth.c
Tatsuo Ishii
ishii at sraoss.co.jp
Fri Apr 24 10:37:00 JST 2020
> Hi,
>
>
> I found some unnecessary checks in pool_auth.c,
> Like the following code, if first check 'reauth == true' , function has returned,
> I think ,may be the second check can be removed , and I make a patch for it
>
>
> ---------------src/auth/pool_auth.c------------
> if (reauth)
> {
> ...
> return 0;
> }
>
>
> if (!reauth && kind == AUTH_REQ_OK)
> ---------------------------------------------------
Thank you for the patch. You are right. I have pushed it to all
the supported branches.
Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp
More information about the pgpool-general
mailing list