Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
f0389f28
Unverified
Commit
f0389f28
authored
May 29, 2024
by
Ozan Tezcan
Committed by
GitHub
May 29, 2024
Browse files
Fix position of numfields in H(P)EXPIRE json files (#13301)
Fix position of numfields in H(P)EXPIRE json files
parent
33fc0fbf
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/commands.def
View file @
f0389f28
...
...
@@ -3399,8 +3399,8 @@ keySpec HEXPIRETIME_Keyspecs[1] = {
/* HEXPIRETIME argument table */
struct COMMAND_ARG HEXPIRETIME_Args[] = {
{MAKE_ARG("key",ARG_TYPE_KEY,0,NULL,NULL,NULL,CMD_ARG_NONE,0,NULL)},
{MAKE_ARG("numfields",ARG_TYPE_INTEGER,-1,NULL,NULL,NULL,CMD_ARG_NONE,0,NULL)},
{MAKE_ARG("fields",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE,0,NULL)},
{MAKE_ARG("numfields",ARG_TYPE_INTEGER,-1,NULL,NULL,NULL,CMD_ARG_NONE,0,NULL)},
{MAKE_ARG("field",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_MULTIPLE,0,NULL)},
};
...
...
@@ -3736,8 +3736,8 @@ keySpec HPEXPIRETIME_Keyspecs[1] = {
/* HPEXPIRETIME argument table */
struct COMMAND_ARG HPEXPIRETIME_Args[] = {
{MAKE_ARG("key",ARG_TYPE_KEY,0,NULL,NULL,NULL,CMD_ARG_NONE,0,NULL)},
{MAKE_ARG("numfields",ARG_TYPE_INTEGER,-1,NULL,NULL,NULL,CMD_ARG_NONE,0,NULL)},
{MAKE_ARG("fields",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE,0,NULL)},
{MAKE_ARG("numfields",ARG_TYPE_INTEGER,-1,NULL,NULL,NULL,CMD_ARG_NONE,0,NULL)},
{MAKE_ARG("field",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_MULTIPLE,0,NULL)},
};
...
...
src/commands/hexpiretime.json
View file @
f0389f28
...
...
@@ -63,14 +63,14 @@
"type"
:
"key"
,
"key_spec_index"
:
0
},
{
"name"
:
"numfields"
,
"type"
:
"integer"
},
{
"name"
:
"FIELDS"
,
"type"
:
"string"
},
{
"name"
:
"numfields"
,
"type"
:
"integer"
},
{
"name"
:
"field"
,
"type"
:
"string"
,
...
...
src/commands/hpexpiretime.json
View file @
f0389f28
...
...
@@ -63,14 +63,14 @@
"type"
:
"key"
,
"key_spec_index"
:
0
},
{
"name"
:
"numfields"
,
"type"
:
"integer"
},
{
"name"
:
"FIELDS"
,
"type"
:
"string"
},
{
"name"
:
"numfields"
,
"type"
:
"integer"
},
{
"name"
:
"field"
,
"type"
:
"string"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment