mirror of
https://github.com/redis/go-redis.git
synced 2025-07-26 19:21:03 +03:00
feat: support eval_ro and evalsha_ro
Signed-off-by: tison <wander4096@gmail.com>
This commit is contained in:
@ -65,7 +65,7 @@ func cmdFirstKeyPos(cmd Cmder, info *CommandInfo) int {
|
||||
}
|
||||
|
||||
switch cmd.Name() {
|
||||
case "eval", "evalsha":
|
||||
case "eval", "evalsha", "eval_ro", "evalsha_ro":
|
||||
if cmd.stringArg(2) != "0" {
|
||||
return 3
|
||||
}
|
||||
|
Reference in New Issue
Block a user