mirror of
https://github.com/fluencelabs/redis
synced 2025-04-03 16:21:03 +00:00
More fixes in the Redis command table, to make sure all the keys are detected by Redis Cluster.
This commit is contained in:
parent
39da5d1f21
commit
1bcfa0f643
10
src/redis.c
10
src/redis.c
@ -151,11 +151,11 @@ struct redisCommand redisCommandTable[] = {
|
|||||||
{"spop",spopCommand,2,"wRs",0,NULL,1,1,1,0,0},
|
{"spop",spopCommand,2,"wRs",0,NULL,1,1,1,0,0},
|
||||||
{"srandmember",srandmemberCommand,2,"rR",0,NULL,1,1,1,0,0},
|
{"srandmember",srandmemberCommand,2,"rR",0,NULL,1,1,1,0,0},
|
||||||
{"sinter",sinterCommand,-2,"r",0,NULL,1,-1,1,0,0},
|
{"sinter",sinterCommand,-2,"r",0,NULL,1,-1,1,0,0},
|
||||||
{"sinterstore",sinterstoreCommand,-3,"wm",0,NULL,2,-1,1,0,0},
|
{"sinterstore",sinterstoreCommand,-3,"wm",0,NULL,1,-1,1,0,0},
|
||||||
{"sunion",sunionCommand,-2,"r",0,NULL,1,-1,1,0,0},
|
{"sunion",sunionCommand,-2,"r",0,NULL,1,-1,1,0,0},
|
||||||
{"sunionstore",sunionstoreCommand,-3,"wm",0,NULL,2,-1,1,0,0},
|
{"sunionstore",sunionstoreCommand,-3,"wm",0,NULL,1,-1,1,0,0},
|
||||||
{"sdiff",sdiffCommand,-2,"r",0,NULL,1,-1,1,0,0},
|
{"sdiff",sdiffCommand,-2,"r",0,NULL,1,-1,1,0,0},
|
||||||
{"sdiffstore",sdiffstoreCommand,-3,"wm",0,NULL,2,-1,1,0,0},
|
{"sdiffstore",sdiffstoreCommand,-3,"wm",0,NULL,1,-1,1,0,0},
|
||||||
{"smembers",sinterCommand,2,"r",0,NULL,1,1,1,0,0},
|
{"smembers",sinterCommand,2,"r",0,NULL,1,1,1,0,0},
|
||||||
{"zadd",zaddCommand,-4,"wm",0,NULL,1,1,1,0,0},
|
{"zadd",zaddCommand,-4,"wm",0,NULL,1,1,1,0,0},
|
||||||
{"zincrby",zincrbyCommand,4,"wm",0,NULL,1,1,1,0,0},
|
{"zincrby",zincrbyCommand,4,"wm",0,NULL,1,1,1,0,0},
|
||||||
@ -238,8 +238,8 @@ struct redisCommand redisCommandTable[] = {
|
|||||||
{"restore",restoreCommand,4,"awm",0,NULL,1,1,1,0,0},
|
{"restore",restoreCommand,4,"awm",0,NULL,1,1,1,0,0},
|
||||||
{"migrate",migrateCommand,6,"aw",0,NULL,0,0,0,0,0},
|
{"migrate",migrateCommand,6,"aw",0,NULL,0,0,0,0,0},
|
||||||
{"asking",askingCommand,1,"r",0,NULL,0,0,0,0,0},
|
{"asking",askingCommand,1,"r",0,NULL,0,0,0,0,0},
|
||||||
{"dump",dumpCommand,2,"ar",0,NULL,0,0,0,0,0},
|
{"dump",dumpCommand,2,"ar",0,NULL,1,1,1,0,0},
|
||||||
{"object",objectCommand,-2,"r",0,NULL,0,0,0,0,0},
|
{"object",objectCommand,-2,"r",0,NULL,2,2,2,0,0},
|
||||||
{"client",clientCommand,-2,"ar",0,NULL,0,0,0,0,0},
|
{"client",clientCommand,-2,"ar",0,NULL,0,0,0,0,0},
|
||||||
{"eval",evalCommand,-3,"wms",0,zunionInterGetKeys,0,0,0,0,0},
|
{"eval",evalCommand,-3,"wms",0,zunionInterGetKeys,0,0,0,0,0},
|
||||||
{"evalsha",evalShaCommand,-3,"wms",0,zunionInterGetKeys,0,0,0,0,0},
|
{"evalsha",evalShaCommand,-3,"wms",0,zunionInterGetKeys,0,0,0,0,0},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user