SCRIPT LOAD now returns the SHA1 instead of +OK
This commit is contained in:
+1
-1
@@ -737,8 +737,8 @@ void scriptCommand(redisClient *c) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
addReplyBulkCBuffer(c,funcname+2,40);
|
||||
sdsfree(sha);
|
||||
addReply(c,shared.ok);
|
||||
} else {
|
||||
addReplyError(c, "Unknown SCRIPT subcommand or wrong # of args.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user