On Jun 27, 2008, at 9:55 AM, Vijay Mehta wrote:
Hi @administrator,
Need Help !
Can anyone guide me if memcached supports incrementing/decrementing
decimal values.
It doesn't.
See:
http://src.opensolaris.org/source/xref/webstack/memcached-incubator/trunk/server/doc/protocol.txt#286
The data for the item is treated as decimal representation of a 64-bit
unsigned integer. If the current data value does not conform to such a
representation, the commands behave as if the value were 0.
I have tried incrementing/decrementing - it only works for integers !
That is correct.
Trond