Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 379 by [email protected]: Incorrect result of 'decr'
and 'incr' operation on empty item under some circumstances
https://code.google.com/p/memcached/issues/detail?id=379
What steps will reproduce the problem?
Issue the following ASCII commands:
set a 0 0 20
18446744073709551616
STORED
incr a 1
CLIENT_ERROR cannot increment or decrement non-numeric value
set a 0 0 0
STORED
decr a 1
46744073709551615
incr a 1
46744073709551616
What is the expected output? What do you see instead?
I would expect the last two decr and incr to fail with:
"CLIENT_ERROR cannot increment or decrement non-numeric value"
Instead, I see that decr is storing some seemingly "random" value.
What version of the product are you using? On what operating system?
Ubuntu 14.04, memcached 1.4.20
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.