summaryrefslogtreecommitdiff
path: root/src/geo.c
diff options
context:
space:
mode:
authorzhaozhao.zz <zhaozhao.zz@alibaba-inc.com>2019-12-18 14:49:38 +0800
committerzhaozhao.zz <zhaozhao.zz@alibaba-inc.com>2019-12-18 15:20:36 +0800
commit24044f33560e9c34e73d8ffc493ed7c0b6b95dbc (patch)
treef3d6aca592a2c9231ffd369e9ac5d08c464f34ff /src/geo.c
parentb7c78b7651c5458ccf5d95ef5857ec427b927a27 (diff)
downloadredis-24044f33560e9c34e73d8ffc493ed7c0b6b95dbc.tar.gz
add a new SET option KEEPTTL that doesn't remove expire time
Diffstat (limited to 'src/geo.c')
-rw-r--r--src/geo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geo.c b/src/geo.c
index 049335a4f..5d969ad98 100644
--- a/src/geo.c
+++ b/src/geo.c
@@ -657,7 +657,7 @@ void georadiusGeneric(client *c, int flags) {
if (returned_items) {
zsetConvertToZiplistIfNeeded(zobj,maxelelen);
- setKey(c->db,storekey,zobj);
+ setKey(c->db,storekey,zobj,0);
decrRefCount(zobj);
notifyKeyspaceEvent(NOTIFY_ZSET,"georadiusstore",storekey,
c->db->id);