Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2022-10-08 19:24:57 +0300
committerMichael Grunder <michael.grunder@gmail.com>2022-10-08 20:51:50 +0300
commit9a3fe401dc559e2e8fdc769c189801edaa1d3c5b (patch)
tree30e199bd91e5c4d9bbbba2a16d7a338326759bf8 /redis.c
parent6ea978eb72507c3c21805de8bc916b1aa7f0f0dd (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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/redis.c b/redis.c
index 4a660474..4b4808a8 100644
--- a/redis.c
+++ b/redis.c
@@ -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);
}
/* }}} */