From d13f767cf2c23f47fd976380c8c8833ec525eccd Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 28 Oct 2009 23:03:57 +0100 Subject: [PATCH] TODO changes and mostly theoretical minor skiplist change --- TODO | 4 ++++ redis.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index eb0d8374..07703f4c 100644 --- a/TODO +++ b/TODO @@ -3,9 +3,13 @@ VERSION 1.1 TODO * For now only the last argument gets integer encoded, so make sure that: 1) every multi bulk commands implemented will have the last arg that is indeed a value, and not used otherwise. 2) to explicitly call the function to encode the object in MSET and other commands where there are multiple "values". * Man pages for MSET MSETNX and SRANDMEMBER, Z-commands, ... * ZSETs missing stuff: ZINCRBY +* Add all the missing symbols for the statis functions into the table. This backtrace on segfault is indeed *very* useful. +* Use strcoll() to compare objects in sorted sets, like it already happens for SORT. +* LMOVE, as discussed in the Redis group. VERSION 1.2 TODO +* Basic Redis-cluster (at least all the features of the Ruby client distribute implementation + ability to set every key in M nodes). * Hashes (HSET, HGET, HEXISTS, HLEN, ...). * An utility able to export an .rdb file into a text-only JSON dump, we can't live anymore without such a tool. Probably an extension to redis-cli. diff --git a/redis.c b/redis.c index 01e5ca3c..46278a8f 100644 --- a/redis.c +++ b/redis.c @@ -323,7 +323,7 @@ typedef struct zskiplistNode { typedef struct zskiplist { struct zskiplistNode *header, *tail; - long length; + unsigned long length; int level; } zskiplist;