Bug #400182: Ignore unsupported stats 'conn_yields'
authorTrond Norbye <trond.norbye@sun.com>
Thu, 16 Jul 2009 12:11:04 +0000 (14:11 +0200)
committerTrond Norbye <trond.norbye@sun.com>
Thu, 16 Jul 2009 12:11:04 +0000 (14:11 +0200)
libmemcached/memcached_stats.c

index e64ca550bd143d10689c591a3d675a900b26341a..84008908dfbe7a0237be3e39d73bc34cff03ade5 100644 (file)
@@ -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;