mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Geo: fix command table keys position indexes for three commands.
GEOHASH, GEOPOS and GEODIST where declared as commands not accepting keys, so the Redis Cluster redirection did not worked. Close #2671.
This commit is contained in:
parent
b96af595a5
commit
5c4fcaf3fe
@ -285,9 +285,9 @@ struct redisCommand redisCommandTable[] = {
|
||||
{"geoadd",geoaddCommand,-5,"wm",0,NULL,1,1,1,0,0},
|
||||
{"georadius",georadiusCommand,-6,"r",0,NULL,1,1,1,0,0},
|
||||
{"georadiusbymember",georadiusByMemberCommand,-5,"r",0,NULL,1,1,1,0,0},
|
||||
{"geohash",geohashCommand,-2,"r",0,NULL,0,0,0,0,0},
|
||||
{"geopos",geoposCommand,-2,"r",0,NULL,0,0,0,0,0},
|
||||
{"geodist",geodistCommand,-4,"r",0,NULL,0,0,0,0,0},
|
||||
{"geohash",geohashCommand,-2,"r",0,NULL,1,1,1,0,0},
|
||||
{"geopos",geoposCommand,-2,"r",0,NULL,1,1,1,0,0},
|
||||
{"geodist",geodistCommand,-4,"r",0,NULL,1,1,1,0,0},
|
||||
{"pfselftest",pfselftestCommand,1,"r",0,NULL,0,0,0,0,0},
|
||||
{"pfadd",pfaddCommand,-2,"wmF",0,NULL,1,1,1,0,0},
|
||||
{"pfcount",pfcountCommand,-2,"r",0,NULL,1,1,1,0,0},
|
||||
|
Loading…
x
Reference in New Issue
Block a user