From: Trond Norbye Date: Sat, 2 May 2009 03:25:38 +0000 (-0700) Subject: Swallow new stats from 1.3 servers. We need a new stats design X-Git-Tag: 0.29~13 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=ea518271265b52f0363b964d84bd8eaa87af9dfe;p=awesomized%2Flibmemcached Swallow new stats from 1.3 servers. We need a new stats design --- diff --git a/libmemcached/memcached_stats.c b/libmemcached/memcached_stats.c index 1c8c174f..791c00d9 100644 --- a/libmemcached/memcached_stats.c +++ b/libmemcached/memcached_stats.c @@ -144,7 +144,10 @@ static void set_data(memcached_stat_st *stat, char *key, char *value) strcmp("decr_hits", key) == 0 || strcmp("cas_misses", key) == 0 || strcmp("cas_hits", key) == 0 || - strcmp("cas_badval", key) == 0)) + strcmp("cas_badval", key) == 0 || + strcmp("cmd_flush", key) == 0 || + strcmp("accepting_conns", key) == 0 || + strcmp("listen_disabled_num", key) == 0)) { fprintf(stderr, "Unknown key %s\n", key); }