[pgpool-general: 7888] Re: Clean up some code using "(expr) ? true : false"

Tatsuo Ishii ishii at sraoss.co.jp
Mon Nov 22 16:46:34 JST 2021


> Hi,
> 
>> I think this is not quite correct as jNode->u.integer is int64_t, while value is bool
>> *.
>> They are different types.
> ...
>> I think this is not quite correct as g_cluster.ipc_auth_needed is bool, while
>> strlen() returns size_t. They are different types.
> 
> Yes, you're right. I did take a risk modifying it that way.
> The easiest solution was not to fix it, so I remade the patch.

Thanks. I have pushed your patches.
--
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