Commit 385f6190 authored by Oran Agra's avatar Oran Agra
Browse files

getKeysFromCommand for TOUCH only extracted the first key.

also, airty for COMMAND command was wrong.
parent 3eaa2cdc
...@@ -715,7 +715,7 @@ struct redisCommand redisCommandTable[] = { ...@@ -715,7 +715,7 @@ struct redisCommand redisCommandTable[] = {
{"touch",touchCommand,-2, {"touch",touchCommand,-2,
"read-only fast @keyspace", "read-only fast @keyspace",
0,NULL,1,1,1,0,0,0}, 0,NULL,1,-1,1,0,0,0},
{"pttl",pttlCommand,2, {"pttl",pttlCommand,2,
"read-only fast random @keyspace", "read-only fast random @keyspace",
...@@ -863,7 +863,7 @@ struct redisCommand redisCommandTable[] = { ...@@ -863,7 +863,7 @@ struct redisCommand redisCommandTable[] = {
"no-script @keyspace", "no-script @keyspace",
0,NULL,0,0,0,0,0,0}, 0,NULL,0,0,0,0,0,0},
{"command",commandCommand,0, {"command",commandCommand,-1,
"ok-loading ok-stale random @connection", "ok-loading ok-stale random @connection",
0,NULL,0,0,0,0,0,0}, 0,NULL,0,0,0,0,0,0},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment