Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 221 by [email protected]: Increment treats leading spaces as 0 http://code.google.com/p/memcached/issues/detail?id=221 What steps will reproduce the problem? 1. use the command (second line has a leading space): set key 0 0 4 abc 2. use the command: incr key 10 What is the expected output? What do you see instead? I expect to see: CLIENT_ERROR cannot increment or decrement non-numeric value Instead I see success: 10 What version of the product are you using? On what operating system? Memcached 1.4.5 on Ubuntu 11.04 x64 Please provide any additional information below. This problem exists in the binary protocol as well.
