diff options
author | zhaozhao.zz <zhaozhao.zz@alibaba-inc.com> | 2019-12-18 14:49:38 +0800 |
---|---|---|
committer | zhaozhao.zz <zhaozhao.zz@alibaba-inc.com> | 2019-12-18 15:20:36 +0800 |
commit | 24044f33560e9c34e73d8ffc493ed7c0b6b95dbc (patch) | |
tree | f3d6aca592a2c9231ffd369e9ac5d08c464f34ff /src/geo.c | |
parent | b7c78b7651c5458ccf5d95ef5857ec427b927a27 (diff) | |
download | redis-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |