Closed GoogleCodeExporter closed 9 years ago
I've a test and stuff for this. Waiting for some feedback for what exactly to
do in
the error case.
Original comment by dsalli...@gmail.com
on 21 Jun 2009 at 7:13
This is going to be a 1.4 blocker just because it's a protocol specification
whole
that needs to be filled before the first real one ships.
It's a small hole, but should be covered.
Original comment by dsalli...@gmail.com
on 25 Jun 2009 at 10:43
I defined a new error for this. My tree is up here:
http://github.com/dustin/memcached/commits/issue48
It's broken down into two parts:
1) Quick fix to get the right response delivered.
2) Fixing add_delta to return status instead of text protocol.
Passes all tests on all platforms (except solaris/sparc, which is currently
down).
Original comment by dsalli...@gmail.com
on 28 Jun 2009 at 1:10
Fix is pushed. Thanks, Trond!
Original comment by dsalli...@gmail.com
on 29 Jun 2009 at 9:27
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
Original comment by a%enyim....@gtempaccount.com
on 5 Mar 2010 at 9:32
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
Original comment by dsalli...@gmail.com
on 6 Mar 2010 at 12:03
yeah, sorry i forgot that the status is supposed to be 16bit not 8.
Original comment by a%enyim....@gtempaccount.com
on 6 Mar 2010 at 12:07
Original issue reported on code.google.com by
steve....@gmail.com
on 13 May 2009 at 12:21