> CVS HEAD cannot compile without memcache:
> 
> pool_memqcache.c: In function ‘memcached_connect’:
> pool_memqcache.c:116:6: error: ‘memc’ undeclared (first use in this
> function)
> pool_memqcache.c:116:6: note: each undeclared identifier is reported
> only once for each function it appears in
> pool_memqcache.c: In function ‘memcached_disconnect’:
> pool_memqcache.c:153:7: error: ‘memc’ undeclared (first use in this
> function)
> pool_memqcache.c: In function ‘pool_is_allow_to_cache’:
> pool_memqcache.c:623:14: warning: variable ‘stmt’ set but not used
> [-Wunused-but-set-variable]
> pool_memqcache.c: At top level:
> pool_memqcache.c:401:13: warning: ‘dump_cache_data’ defined but not used
> [-Wunused-function]
> pool_memqcache.c:500:12: warning: ‘delete_cache_on_memcached’ defined
> but not used [-Wunused-function]
> pool_memqcache.c:2013:13: warning: ‘dump_shmem_cache’ defined but not
> used [-Wunused-function]

Thanks for pointing out. Fix done.
Also I committed very simple query cache stats functionality.
Here is except from pool_status:

 memqcache_stats_start_time           | Wed Sep 14 22:38:07 2011                
             +| Start time of query cache stats
                                      |                                         
              | 
 memqcache_no_cache_hits              | 6001                                    
              | Number of SELECTs not hitting query cache
 memqcache_cache_hits                 | 5                                       
              | Number of SELECTs hitting query cache
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp
_______________________________________________
Pgpool-hackers mailing list
Pgpool-hackers@pgfoundry.org
http://pgfoundry.org/mailman/listinfo/pgpool-hackers

Reply via email to