(I tried to respond to this yesterday, but the original posting is
still not visible in google groups)

On Jan 21, 11:56 am, Adam Lee <[email protected]> wrote:
> Due to a quirk in memcached, I believe you actually want to store a string
> representation in order to use incr/decr.
>
> Try changing the second line to CACHE.set('abc', '123')  and see if that
> works.

  We worked through a bit of this in irc.  It seems that there are
some things wrong with the client.  If you send the value in as a
string, it quotes it in the the store.  If you send it in as a number,
it does some sort of binary encoding.  Basically, the client doesn't
seem to have the ability to represent a numeric value that can be used
with incr.

Reply via email to