Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- commit 108d2ecb404e07e24f889cbc65ccb7c1a2b54a3a
- Author: HIROSE Masaaki <hirose@sag14.klab.org>
- Date: Thu Sep 18 16:15:28 2008 +0900
- to count get_cmds
- diff --git a/memcached.c b/memcached.c
- index 6f81210..b1f858f 100644
- --- a/memcached.c
- +++ b/memcached.c
- @@ -1138,6 +1138,9 @@ static void process_bin_get(conn *c) {
- fprintf(stderr, "\n");
- }
- + STATS_LOCK();
- + stats.get_cmds++;
- + STATS_UNLOCK();
- it = item_get(key, nkey);
- if (it) {
- /* the length has two unnecessary bytes ("\r\n") */
Add Comment
Please, Sign In to add comment