提交 2cffe299 编写于 作者: A antirez

TODO list modified, trivial change to source code

上级 5b4bff9c
...@@ -4,11 +4,10 @@ Redis TODO and Roadmap ...@@ -4,11 +4,10 @@ Redis TODO and Roadmap
VERSION 2.2 TODO (Optimizations and latency) VERSION 2.2 TODO (Optimizations and latency)
============================================ ============================================
* SETNX when failing should not affect WATCH
* Support for syslog(3). * Support for syslog(3).
* Document ZCOUNT.
* Change the implementation of ZCOUNT to use the augmented skiplist in order to be much faster. * 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. * Add an explicit test for MULTI/EXEC reloaded in the AOF.
* Command table -> hash table, with support for command renaming
VM TODO VM TODO
======= =======
...@@ -59,3 +58,9 @@ KNOWN BUGS ...@@ -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. * 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
...@@ -11,8 +11,7 @@ robj *createObject(int type, void *ptr) { ...@@ -11,8 +11,7 @@ robj *createObject(int type, void *ptr) {
listDelNode(server.objfreelist,head); listDelNode(server.objfreelist,head);
if (server.vm_enabled) pthread_mutex_unlock(&server.obj_freelist_mutex); if (server.vm_enabled) pthread_mutex_unlock(&server.obj_freelist_mutex);
} else { } else {
if (server.vm_enabled) if (server.vm_enabled) pthread_mutex_unlock(&server.obj_freelist_mutex);
pthread_mutex_unlock(&server.obj_freelist_mutex);
o = zmalloc(sizeof(*o)); o = zmalloc(sizeof(*o));
} }
o->type = type; o->type = type;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册