summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-11-17 15:40:47 +0100
committerantirez <antirez@gmail.com>2015-11-17 15:40:47 +0100
commit8e491b1708f5d9ee5c44d940585a5b684d55be2b (patch)
treea3fc82bb6a6b455a507f371f00299b121291de40
parent3da69a9f226396d24fc0919fc4111645449a7cb1 (diff)
downloadredis-8e491b1708f5d9ee5c44d940585a5b684d55be2b.tar.gz
Remove "s" flag for MIGRATE in command table.
Maybe there are legitimate use cases for MIGRATE inside Lua scripts, at least for now. When the command will be executed in an asynchronous fashion (planned) it is possible we'll no longer be able to permit it from within Lua scripts.
-rw-r--r--src/redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis.c b/src/redis.c
index 89f51773d..05fbc6674 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -261,7 +261,7 @@ struct redisCommand redisCommandTable[] = {
{"cluster",clusterCommand,-2,"ar",0,NULL,0,0,0,0,0},
{"restore",restoreCommand,-4,"wm",0,NULL,1,1,1,0,0},
{"restore-asking",restoreCommand,-4,"wmk",0,NULL,1,1,1,0,0},
- {"migrate",migrateCommand,-6,"ws",0,NULL,3,3,1,0,0},
+ {"migrate",migrateCommand,-6,"w",0,NULL,3,3,1,0,0},
{"asking",askingCommand,1,"r",0,NULL,0,0,0,0,0},
{"readonly",readonlyCommand,1,"rF",0,NULL,0,0,0,0,0},
{"readwrite",readwriteCommand,1,"rF",0,NULL,0,0,0,0,0},