diff options
author | dormando <dormando@rydia.net> | 2020-03-06 00:35:02 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-03-06 00:37:52 -0800 |
commit | a71af5d1f319a01aae12716372e6fff82800e9c1 (patch) | |
tree | 86194e0804e8625212f0459f91b27d871eece178 /thread.c | |
parent | 99dfb1ead68f4d78f0df21aba78a9c456b2649f4 (diff) | |
download | memcached-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |