Re: Issue 48 in memcached: binary protocol incr on text returns success 0

2010-03-05 Thread memcached


Comment #5 on issue 48 by a...@enyim.com: binary protocol incr on text  
returns success 0

http://code.google.com/p/memcached/issues/detail?id=48

i'm not sure which version includes this fix, but both 1.4.3 and 1.4.4 give  
me a status code 0 (SUCCESS) when

trying to increment non numeric values:

(MyKey has the value Hello World)

incr MyKey 12, 1, 0

24 Writing an error: Non-numeric server-side value for incr or decr
24 Writing bin response:
24   0x81 0x06 0x00 0x00
24   0x00 0x00 0x00 0x06
24   0x00 0x00 0x00 0x2e
24   0x00 0x00 0x00 0x05
24   0x00 0x00 0x00 0x00
24   0x00 0x00 0x00 0x00



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


Re: Issue 48 in memcached: binary protocol incr on text returns success 0

2010-03-05 Thread memcached


Comment #6 on issue 48 by dsallings: binary protocol incr on text returns  
success 0

http://code.google.com/p/memcached/issues/detail?id=48

I see status code 6 and the error text there.  6 == bad value for  
incr/decr.  I believe this

is correct.  This change went in as 1.4.0-rc1-2-gcce46e8

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


Re: Issue 48 in memcached: binary protocol incr on text returns success 0

2010-03-05 Thread memcached


Comment #7 on issue 48 by a...@enyim.com: binary protocol incr on text  
returns success 0

http://code.google.com/p/memcached/issues/detail?id=48

yeah, sorry i forgot that the status is supposed to be 16bit not 8.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings