diff options
author | antirez <antirez@gmail.com> | 2019-12-18 11:58:02 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2019-12-18 11:58:02 +0100 |
commit | 5b9d3ac6c6932b292c8895af8562c4df3c00464b (patch) | |
tree | 581447cc8efcf9e65cc67401bc1936c0b64b43a7 /src/server.h | |
parent | 9d1baa070521f648e836eb741a050a8897d48129 (diff) | |
download | redis-5b9d3ac6c6932b292c8895af8562c4df3c00464b.tar.gz |
Avoid changing setKey() API after #6679 fix.
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h index 655ac4f12..d9f24a1f6 100644 --- a/src/server.h +++ b/src/server.h @@ -2025,7 +2025,8 @@ int objectSetLRUOrLFU(robj *val, long long lfu_freq, long long lru_idle, #define LOOKUP_NOTOUCH (1<<0) void dbAdd(redisDb *db, robj *key, robj *val); void dbOverwrite(redisDb *db, robj *key, robj *val); -void setKey(redisDb *db, robj *key, robj *val, int keepttl); +void genericSetKey(redisDb *db, robj *key, robj *val, int keepttl); +void setKey(redisDb *db, robj *key, robj *val); int dbExists(redisDb *db, robj *key); robj *dbRandomKey(redisDb *db); int dbSyncDelete(redisDb *db, robj *key); |