antirez
a452b54849
TTL / PTTL commands: two bugs fixed.
...
This commit fixes two corner cases for the TTL command.
1) When the key was already logically expired (expire time older
than current time) the command returned -1 instead of -2.
2) When the key was existing and the expire was found to be exactly 0
(the key was just about to expire), the command reported -1 (that is, no
expire) instead of a TTL of zero (that is, about to expire).
2013-03-26 13:59:33 +01:00
..
2012-04-13 18:05:51 -07:00
2013-01-19 11:03:19 +01:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2013-01-19 11:03:19 +01:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2013-01-19 11:03:19 +01:00
2012-11-08 18:34:04 +01:00
2013-02-11 11:44:31 +01:00
2013-02-11 11:44:18 +01:00
2013-02-27 12:47:16 +01:00
2012-11-08 18:34:04 +01:00
2013-01-19 11:03:19 +01:00
2012-11-22 10:28:53 +01:00
2013-01-28 13:18:36 +01:00
2013-03-25 19:32:20 +01:00
2013-02-27 12:00:43 +01:00
2012-04-10 16:26:41 +02:00
2012-11-29 14:22:15 +01:00
2013-03-26 13:59:33 +01:00
2013-02-27 12:47:16 +01:00
2013-01-19 11:03:19 +01:00
2012-10-22 11:56:06 +02:00
2012-02-14 16:11:46 +01:00
2012-12-11 17:19:54 +01:00
2012-12-12 18:42:41 +01:00
2012-10-30 19:11:57 +01:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2013-01-19 11:03:19 +01:00
2013-02-26 12:03:48 +01:00
2013-02-26 12:03:48 +01:00
2013-01-21 12:38:46 +01:00
2012-04-10 20:04:21 +02:00
2013-03-04 10:58:02 +01:00
2013-03-26 13:59:21 +01:00
2013-03-06 16:36:57 +01:00
2013-01-28 13:18:53 +01:00
2013-01-28 13:17:37 +01:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2013-03-06 16:50:53 +01:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2013-03-13 10:08:30 +01:00
2013-01-19 11:03:19 +01:00
2012-12-20 15:21:40 +01:00
2012-11-08 18:34:04 +01:00
2013-01-19 11:03:19 +01:00
2013-03-25 11:52:25 +01:00
2013-03-26 13:59:26 +01:00
2013-03-11 11:29:57 +01:00
2013-01-19 11:03:19 +01:00
2013-02-27 12:47:16 +01:00
2012-11-29 14:22:15 +01:00
2012-11-08 18:34:04 +01:00
2013-01-19 11:03:19 +01:00
2013-03-06 12:43:41 +01:00
2013-03-06 12:43:41 +01:00
2013-02-11 11:44:14 +01:00
2013-02-27 12:00:43 +01:00
2013-01-19 11:03:19 +01:00
2010-07-01 14:38:51 +02:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2013-01-28 13:18:36 +01:00
2012-05-02 22:45:12 +02:00
2013-01-28 13:18:36 +01:00
2013-01-28 13:18:36 +01:00
2013-02-05 10:49:24 +01:00
2013-01-28 13:18:36 +01:00
2013-01-29 13:50:09 +01:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2012-11-08 18:34:04 +01:00
2011-07-06 15:22:00 +02:00
2012-10-22 23:32:26 +02:00
2013-02-11 11:44:06 +01:00
2012-11-08 18:34:04 +01:00
2012-09-27 13:22:42 +02:00
2011-02-28 09:56:48 +01:00
2013-01-19 11:03:19 +01:00
2012-11-19 15:25:57 +01:00