mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
Convert objects in the command procs instead of the protocol code
This commit is contained in:
@ -410,6 +410,7 @@ void configGetCommand(redisClient *c) {
|
||||
}
|
||||
|
||||
void configCommand(redisClient *c) {
|
||||
c->argv[c->argc-1] = tryObjectEncoding(c->argv[c->argc-1]);
|
||||
if (!strcasecmp(c->argv[1]->ptr,"set")) {
|
||||
if (c->argc != 4) goto badarity;
|
||||
configSetCommand(c);
|
||||
|
Reference in New Issue
Block a user