Unverified Commit 44c67703 authored by knggk's avatar knggk Committed by GitHub
Browse files

Add minimum version information to new xsetid arguments (#11694)

the metadata for the new arguments of XSETID,
entries-added and max-deleted-id, which have been added
in Redis 7.0 was missing.
parent 2bec254d
......@@ -6676,8 +6676,8 @@ commandHistory XSETID_History[] = {
struct redisCommandArg XSETID_Args[] = {
{"key",ARG_TYPE_KEY,0,NULL,NULL,NULL,CMD_ARG_NONE},
{"last-id",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE},
{"entries-added",ARG_TYPE_INTEGER,-1,"ENTRIESADDED",NULL,NULL,CMD_ARG_OPTIONAL},
{"max-deleted-id",ARG_TYPE_STRING,-1,"MAXDELETEDID",NULL,NULL,CMD_ARG_OPTIONAL},
{"entries-added",ARG_TYPE_INTEGER,-1,"ENTRIESADDED",NULL,"7.0.0",CMD_ARG_OPTIONAL},
{"max-deleted-id",ARG_TYPE_STRING,-1,"MAXDELETEDID",NULL,"7.0.0",CMD_ARG_OPTIONAL},
{0}
};
......
......@@ -54,13 +54,15 @@
"name": "entries-added",
"token": "ENTRIESADDED",
"type": "integer",
"optional": true
"optional": true,
"since": "7.0.0"
},
{
"name": "max-deleted-id",
"token": "MAXDELETEDID",
"type": "string",
"optional": true
"optional": true,
"since": "7.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