projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
d76b611
)
Swallow new stats from 1.3 servers. We need a new stats design
author
Trond Norbye
<trond.norbye@sun.com>
Sat, 2 May 2009 03:25:38 +0000
(20:25 -0700)
committer
Trond Norbye
<trond.norbye@sun.com>
Sat, 2 May 2009 03:25:38 +0000
(20:25 -0700)
libmemcached/memcached_stats.c
patch
|
blob
|
history
diff --git
a/libmemcached/memcached_stats.c
b/libmemcached/memcached_stats.c
index 1c8c174f8c5d333f33ca95ea891b7065a1cadfa5..791c00d9891ef75950cca606c1958ae43a74704e 100644
(file)
--- 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);
}