antirez aa2bf6ba8b TTL API change: TTL returns -2 for non existing keys.
The previous behavior was to return -1 if:

1) Existing key but without an expire set.
2) Non existing key.

Now the second case is handled in a different, and TTL will return -2
if the key does not exist at all.

PTTL follows the same behavior as well.
2012-11-12 23:04:36 +01:00
..
2012-11-07 15:32:27 +01:00
2012-04-07 11:26:24 +02:00
2012-04-18 11:34:18 +02:00
2011-07-28 12:32:52 +02:00
2010-06-16 11:03:23 +02:00
2010-10-15 12:54:53 +02:00