mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
evalsha with 0 key should return -1 pos
This commit is contained in:
parent
854c88a72c
commit
e916395f6c
@ -95,7 +95,7 @@ func cmdFirstKeyPos(cmd Cmder, info *CommandInfo) int {
|
||||
if cmd.arg(2) != "0" {
|
||||
return 3
|
||||
} else {
|
||||
return 0
|
||||
return -1
|
||||
}
|
||||
}
|
||||
if info == nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user