]> git.saurik.com Git - redis.git/commitdiff
TODO changes and mostly theoretical minor skiplist change
authorantirez <antirez@gmail.com>
Wed, 28 Oct 2009 22:03:57 +0000 (23:03 +0100)
committerantirez <antirez@gmail.com>
Wed, 28 Oct 2009 22:03:57 +0000 (23:03 +0100)
TODO
redis.c

diff --git a/TODO b/TODO
index eb0d8374f2539a7445542333f7f29b84901a3654..07703f4cfb0274ae13cec2499c71713f6b4c25cc 100644 (file)
--- 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 01e5ca3c394baefcbfad12ac84478d4230c0ac30..46278a8fcd42d6eb4fa6f4dae5f7b39ef6bb18a6 100644 (file)
--- 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;