Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 148 by Bluemangroupie: decr doesn't work with negative values
http://code.google.com/p/memcached/issues/detail?id=148

What steps will reproduce the problem?

set 1 0 0 1
5
STORED
incr 1 5000
5005
incr 1 -50
4955
decr 1 50
4905
decr 1 -50
0


What is the expected output? What do you see instead?
decr 1 -50 should add 50 to the value, but it just sets the value to 0.


What version of the product are you using? On what operating system?
memcached 1.2.8



Reply via email to