make sure members are not used uninitialized

This commit is contained in:
Pierangelo Masarati 2009-10-07 22:44:14 +00:00
parent bd1f6deed7
commit 8bdf89ac6a

View file

@ -4377,9 +4377,13 @@ pcache_db_init(
cm->check_cacheability = 0;
cm->response_cb = PCACHE_RESPONSE_CB_TAIL;
cm->defer_db_open = 1;
cm->cache_binds = 0;
cm->cc_period = 1000;
cm->cc_paused = 0;
cm->cc_arg = NULL;
#ifdef PCACHE_MONITOR
cm->monitor_cb = NULL;
#endif /* PCACHE_MONITOR */
qm->attr_sets = NULL;
qm->templates = NULL;