From: Trond Norbye Date: Thu, 16 Jul 2009 12:11:04 +0000 (+0200) Subject: Bug #400182: Ignore unsupported stats 'conn_yields' X-Git-Tag: 0.32~10^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=2fab56326243eaadd8c7f7e1b2798d7f899e68ae;p=m6w6%2Flibmemcached Bug #400182: Ignore unsupported stats 'conn_yields' --- diff --git a/libmemcached/memcached_stats.c b/libmemcached/memcached_stats.c index e64ca550..84008908 100644 --- a/libmemcached/memcached_stats.c +++ b/libmemcached/memcached_stats.c @@ -148,7 +148,8 @@ static memcached_return set_data(memcached_stat_st *memc_stat, char *key, char * strcmp("cas_badval", key) == 0 || strcmp("cmd_flush", key) == 0 || strcmp("accepting_conns", key) == 0 || - strcmp("listen_disabled_num", key) == 0)) + strcmp("listen_disabled_num", key) == 0 || + strcmp("conn_yields", key) == 0)) { WATCHPOINT_STRING(key); return MEMCACHED_UNKNOWN_STAT_KEY;