Here is the interactive in memcached 1.4.24 <<< Trying ::1... <<< Connected to localhost. <<< Escape character is '^]'. >>> set hello 0 0 2 >>> 10 <<< STORED >>> get hello <<< VALUE hello 0 2 <<< 10 <<< END >>> decr hello 1 <<< 9 >>> get hello <<< VALUE hello 0 2 <<< 9 <<< END
I think the last 'get hello' should return <<< VALUE hello 0 1 <<< 9 <<< END It seems that do_add_delta() forget update the new item length. (but correct in incr command) -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.