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:
authorTill Krüss <tillkruss@users.noreply.github.com>2022-03-30 07:14:34 +0300
committerGitHub <noreply@github.com>2022-03-30 07:14:34 +0300
commit82e08723d046a6cdcac8f29e10aa3425e54783b1 (patch)
tree015c1873dcf7e37249621f7a7b307f56c0e8c377 /redis.c
parent8e3c6aa1fea4e8d67f9cedda448d99b0665d4219 (diff)
fix restoring keys when using compression
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis.c b/redis.c
index 5a5d787b..adbd07d1 100644
--- a/redis.c
+++ b/redis.c
@@ -2949,7 +2949,7 @@ PHP_METHOD(Redis, dump) {
/* {{{ proto Redis::restore(ttl, key, value) */
PHP_METHOD(Redis, restore) {
- REDIS_PROCESS_KW_CMD("RESTORE", redis_key_long_val_cmd,
+ REDIS_PROCESS_KW_CMD("RESTORE", redis_key_long_str_cmd,
redis_boolean_response);
}
/* }}} */