diff options
author | michael-grunder <michael.grunder@gmail.com> | 2022-10-08 19:24:57 +0300 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2022-10-08 20:51:50 +0300 |
commit | 9a3fe401dc559e2e8fdc769c189801edaa1d3c5b (patch) | |
tree | 30e199bd91e5c4d9bbbba2a16d7a338326759bf8 /redis.c | |
parent | 6ea978eb72507c3c21805de8bc916b1aa7f0f0dd (diff) |
Implement new RESTORE options
Add the new RESTORE options REPLACE, ABSTTL, FREQ <freq> and IDLETIME <idletime>
Fixes #1410
Diffstat (limited to 'redis.c')
-rw-r--r-- | redis.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3025,8 +3025,7 @@ PHP_METHOD(Redis, dump) { /* {{{ proto Redis::restore(ttl, key, value) */ PHP_METHOD(Redis, restore) { - REDIS_PROCESS_KW_CMD("RESTORE", redis_key_long_str_cmd, - redis_boolean_response); + REDIS_PROCESS_CMD(restore, redis_boolean_response); } /* }}} */ |