]> git.saurik.com Git - redis.git/commitdiff
TODO list modified, trivial change to source code
authorantirez <antirez@gmail.com>
Fri, 16 Jul 2010 21:56:18 +0000 (23:56 +0200)
committerantirez <antirez@gmail.com>
Fri, 16 Jul 2010 21:56:18 +0000 (23:56 +0200)
TODO
src/object.c

diff --git a/TODO b/TODO
index dbde9bb59f1bf3c62c083db843492650e378901e..830149b30d90f286b0e193bdbb98b7386f94876e 100644 (file)
--- a/TODO
+++ b/TODO
@@ -4,11 +4,10 @@ Redis TODO and Roadmap
 VERSION 2.2 TODO (Optimizations and latency)
 ============================================
 
-* SETNX when failing should not affect WATCH
 * Support for syslog(3).
-* Document ZCOUNT.
 * Change the implementation of ZCOUNT to use the augmented skiplist in order to be much faster.
 * Add an explicit test for MULTI/EXEC reloaded in the AOF.
+* Command table -> hash table, with support for command renaming
 
 VM TODO
 =======
@@ -59,3 +58,9 @@ KNOWN BUGS
 ==========
 
 * LRANGE and other commands are using 32 bit integers for ranges, and overflows are not detected. So LRANGE mylist 0 23498204823094823904823904 will have random effects.
+
+REDIS CLI TODO
+==============
+
+* Computer parsable output generation
+* Memoize return values so that they can be used later as arguments, like $1
index 4854909e0c215b400ba627722b99b587568fcfb8..772637ce050d46940140ab7bbbebd4064ec381bf 100644 (file)
@@ -11,8 +11,7 @@ robj *createObject(int type, void *ptr) {
         listDelNode(server.objfreelist,head);
         if (server.vm_enabled) pthread_mutex_unlock(&server.obj_freelist_mutex);
     } else {
-        if (server.vm_enabled)
-            pthread_mutex_unlock(&server.obj_freelist_mutex);
+        if (server.vm_enabled) pthread_mutex_unlock(&server.obj_freelist_mutex);
         o = zmalloc(sizeof(*o));
     }
     o->type = type;