getKeysFromCommand for TOUCH only extracted the first key.

also, airty for COMMAND command was wrong.
This commit is contained in:
Oran Agra 2018-09-27 18:12:31 +03:00
parent 3eaa2cdc44
commit 385f6190a3

View File

@ -715,7 +715,7 @@ struct redisCommand redisCommandTable[] = {
{"touch",touchCommand,-2,
"read-only fast @keyspace",
0,NULL,1,1,1,0,0,0},
0,NULL,1,-1,1,0,0,0},
{"pttl",pttlCommand,2,
"read-only fast random @keyspace",
@ -863,7 +863,7 @@ struct redisCommand redisCommandTable[] = {
"no-script @keyspace",
0,NULL,0,0,0,0,0,0},
{"command",commandCommand,0,
{"command",commandCommand,-1,
"ok-loading ok-stale random @connection",
0,NULL,0,0,0,0,0,0},