Fix "show pool_cache" segfault when memcached is used.
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 18 Apr 2017 01:27:14 +0000 (10:27 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 18 Apr 2017 01:30:36 +0000 (10:30 +0900)
commit84469a9276672002b5e6f73665bdb4851e11db35
tree848cb6f0944267d4debc8bb0d69b8cb2ed1fa925
parent4d462fd01611ae05c124fc9466022c3496cabf2b
Fix "show pool_cache" segfault when memcached is used.

The problem is reported in:
http://www.pgpool.net/mantisbt/view.php?id=301

pool_get_shmem_storage_stats() was mistakenly modified when 3.6 was
developed.

The bug was introduced in 3.6.0. Previous versions do not have the
problem.
src/query_cache/pool_memqcache.c