[pgpool-committers: 9528] pgpool: Fix covery warning.

Tatsuo Ishii ishii at sraoss.co.jp
Wed Aug 9 12:13:17 JST 2023


Fix covery warning.

Fix query cache module assigned time_t value to int32 variable. Change
the variable type to int64. Per Coverity.  Also use difftime() to
calculate time_t difference. This is a recommended practice.
https://www.jpcert.or.jp/sc-rules/c-msc05-c.html

Branch
------
V4_4_STABLE

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

Modified Files
--------------
src/include/query_cache/pool_memqcache.h | 2 +-
src/query_cache/pool_memqcache.c         | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list