Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 82e0872

Browse files
authored
fix restoring keys when using compression
1 parent 8e3c6aa commit 82e0872

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

redis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2949,7 +2949,7 @@ PHP_METHOD(Redis, dump) {
29492949

29502950
/* {{{ proto Redis::restore(ttl, key, value) */
29512951
PHP_METHOD(Redis, restore) {
2952-
REDIS_PROCESS_KW_CMD("RESTORE", redis_key_long_val_cmd,
2952+
REDIS_PROCESS_KW_CMD("RESTORE", redis_key_long_str_cmd,
29532953
redis_boolean_response);
29542954
}
29552955
/* }}} */

0 commit comments

Comments
 (0)