diff options
author | Dustin Sallings <dustin@spy.net> | 2009-02-11 18:03:14 -0800 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-02-11 18:03:14 -0800 |
commit | bad6c614e58639d0685706f17dc9562323c30f39 (patch) | |
tree | 72c54982d8cbc049f0b8353289255842acedc3f3 /items.h | |
parent | ed69f308cbf9b562d389c2dfe122551ae4e9cfa2 (diff) | |
download | memcached-bad6c614e58639d0685706f17dc9562323c30f39.tar.gz |
Update CAS on non-replace incr/decr.
This fixes a problem reported as bug 15 where incr and decr do not
change CAS values when they aren't completely replacing the item
(which is the typical case).
http://code.google.com/p/memcached/issues/detail?id=15
Diffstat (limited to 'items.h')
-rw-r--r-- | items.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,7 @@ /* See items.c */ void item_init(void); +uint64_t get_cas_id(void); + /*@null@*/ item *do_item_alloc(char *key, const size_t nkey, const int flags, const rel_time_t exptime, const int nbytes); void item_free(item *it); |