What's your platform?

Escape character is '^]'.
version
VERSION 1.4.5
set foo 0 0 20
18446744073709551614
STORED
decr foo 5
18446744073709551609

fwiw, always report bugs against latest versions of software :P

like I said, it's just calling strtoull(3) internally, so it's whatever
that function likes on your platform.

On Tue, 7 Feb 2012, Sean wrote:

> See my second post. Even 9223372036854775809 won't work.
> 9223372036854775807 works.
>
> On Feb 7, 1:38 pm, dormando <dorma...@rydia.net> wrote:
> > > Here's the repro on the largest unsigned 64-bit integer
> > > 18446744073709551615 with telnet on memcached 1.4.5
> >
> > > >set aad2ac07-2fd5-42bb-88b9-e7bae3b55f5b 0 200 20
> > > 18446744073709551615
> > > STORED
> > > >get aad2ac07-2fd5-42bb-88b9-e7bae3b55f5b
> > > VALUE aad2ac07-2fd5-42bb-88b9-e7bae3b55f5b 0 20
> > > 18446744073709551615
> > > END
> > > >decr aad2ac07-2fd5-42bb-88b9-e7bae3b55f5b 100
> > > CLIENT_ERROR cannot increment or decrement non-numeric value
> >
> > > Is this a known bug?
> >
> > The max is 18446744073709551614 - as per strtoull(3) I guess.
>

Reply via email to