summaryrefslogtreecommitdiff
path: root/src/redis.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-03-10 16:26:08 +0100
committerantirez <antirez@gmail.com>2014-03-10 16:26:08 +0100
commit04cf02e8dc102105b9d302dc86f499e4be63cb55 (patch)
treed47f7c62a3a795452d63d1450a563cd2b0e00e70 /src/redis.c
parent21765c858886bfeb1349ab83dccb1113b5e55d2c (diff)
downloadredis-04cf02e8dc102105b9d302dc86f499e4be63cb55.tar.gz
Cluster: SORT get keys helper implemented.
Diffstat (limited to 'src/redis.c')
-rw-r--r--src/redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis.c b/src/redis.c
index 2c0e28070..23bf013e3 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -232,7 +232,7 @@ struct redisCommand redisCommandTable[] = {
{"replconf",replconfCommand,-1,"arslt",0,NULL,0,0,0,0,0},
{"flushdb",flushdbCommand,1,"w",0,NULL,0,0,0,0,0},
{"flushall",flushallCommand,1,"w",0,NULL,0,0,0,0,0},
- {"sort",sortCommand,-2,"wm",0,NULL,1,1,1,0,0},
+ {"sort",sortCommand,-2,"wm",0,sortGetKeys,1,1,1,0,0},
{"info",infoCommand,-1,"rlt",0,NULL,0,0,0,0,0},
{"monitor",monitorCommand,1,"ars",0,NULL,0,0,0,0,0},
{"ttl",ttlCommand,2,"r",0,NULL,1,1,1,0,0},