summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2020-03-06 00:35:02 -0800
committerdormando <dormando@rydia.net>2020-03-06 00:37:52 -0800
commita71af5d1f319a01aae12716372e6fff82800e9c1 (patch)
tree86194e0804e8625212f0459f91b27d871eece178 /thread.c
parent99dfb1ead68f4d78f0df21aba78a9c456b2649f4 (diff)
downloadmemcached-a71af5d1f319a01aae12716372e6fff82800e9c1.tar.gz
meta: arithmetic command for incr/decr
see doc/protocol.txt. needed slightly different code as we have to generate the response line after the main operation completes.
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index ebb0379..ed9765a 100644
--- a/thread.c
+++ b/thread.c
@@ -750,7 +750,7 @@ enum delta_result_type add_delta(conn *c, const char *key,
hv = hash(key, nkey);
item_lock(hv);
- ret = do_add_delta(c, key, nkey, incr, delta, buf, cas, hv);
+ ret = do_add_delta(c, key, nkey, incr, delta, buf, cas, hv, NULL);
item_unlock(hv);
return ret;
}