Hi Dustin, I changed the value to string "0", It's work ok. Thank you very much.
On Aug 7, 11:56 pm, Dustin <[email protected]> wrote: > On Aug 7, 9:49 am, Kha Nguyen <[email protected]> wrote: > > > Hi all, > > > I just update memcached 1.2.8 to 1.4.0 and I have a problem at func > > Incr and Decr. > > Server say : Server returned CLIENT_ERROR cannot increment or > > decrement non-numeric value > > > I use func Get this value of key is zero. > > You can only increment and decrement a string representation of a > numeric value. Setting the string "0" should work. > > This worked in prior versions because memcached would fail to parse > whatever object you stored and just consider it zero. That was kind > of a long standing bug.
