diff options
author | antirez <antirez@gmail.com> | 2018-06-15 13:14:57 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2019-06-18 12:31:10 +0200 |
commit | e9bb30fd859ed4e9e3e6434207dedbc251086858 (patch) | |
tree | 0ac8972fefe6911dee8c7376e14c611fcc105e1c /src/gopher.c | |
parent | fd0ee469ab165d0e005e9fe1fca1c4f5c604cd56 (diff) | |
download | redis-new-keyspace.tar.gz |
Experimental: new keyspace and expire algorithm.new-keyspace
This is an alpha quality implementation of a new keyspace representation
and a new expire algorithm for Redis.
This work is described here:
https://gist.github.com/antirez/b2eb293819666ee104c7fcad71986eb7
Diffstat (limited to 'src/gopher.c')
-rw-r--r-- | src/gopher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gopher.c b/src/gopher.c index 38e44f754..6e4485cb3 100644 --- a/src/gopher.c +++ b/src/gopher.c @@ -50,7 +50,7 @@ void addReplyGopherItem(client *c, const char *type, const char *descr, * protocol. */ void processGopherRequest(client *c) { robj *keyname = c->argc == 0 ? createStringObject("/",1) : c->argv[0]; - robj *o = lookupKeyRead(c->db,keyname); + robj *o = lookupKeyRead(c->db,keyname,NULL); /* If there is no such key, return with a Gopher error. */ if (o == NULL || o->type != OBJ_STRING) { |