Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Cache-KyotoTycoon CPAN distribution.

Report information
The Basics
Id: 71314
Status: open
Priority: 0/
Queue: Cache-KyotoTycoon

People
Owner: Nobody in particular
Requestors: niels [...] genomics.dk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: $kt->increment problem?
Date: Wed, 28 Sep 2011 18:34:43 +0200
To: bug-Cache-KyotoTycoon [...] rt.cpan.org
From: Niels Larsen <niels [...] genomics.dk>
Greetings, $kt->increment works, but getting the value with get or get_bulk returns the non-printable "\0\0\0\0\0\0\0^D" (if incremented to 4). Should get and get_bulk not return the printable value 4 instead? Second, if $kt->increment is first called on a given key and then $kt->set is called later on the same key, then this message appears, Cache::KyotoTycoon unexpected response code: 450 Logical Inconsistency If increment and set should not be mixed, then perhaps it would be good to mention in the documentation. Third, the POD page says "not useful value" in several places where the code returns 1 on success and 0 on failure. Best regards, Niels Larsen http://genomics.dk
Patches welcome. On 2011-9月-28 水 12:32:59, niels@genomics.dk wrote: Show quoted text
> Greetings, > > $kt->increment works, but getting the value with get or get_bulk > returns the non-printable "\0\0\0\0\0\0\0^D" (if incremented to 4). > Should get and get_bulk not return the printable value 4 instead? > > Second, if $kt->increment is first called on a given key and then > $kt->set is called later on the same key, then this message appears, > > Cache::KyotoTycoon unexpected response code: 450 Logical Inconsistency > > If increment and set should not be mixed, then perhaps it would be > good to mention in the documentation. > > Third, the POD page says "not useful value" in several places > where the code returns 1 on success and 0 on failure. > > Best regards, > > Niels Larsen > http://genomics.dk > >