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
9e7e0cd6
Commit
9e7e0cd6
authored
Jul 14, 2014
by
Salvatore Sanfilippo
Browse files
Merge pull request #1870 from michael-grunder/object_arity
Fix OBJECT arity
parents
6382936e
ce8a68b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/object.c
View file @
9e7e0cd6
...
@@ -696,7 +696,7 @@ robj *objectCommandLookupOrReply(redisClient *c, robj *key, robj *reply) {
...
@@ -696,7 +696,7 @@ robj *objectCommandLookupOrReply(redisClient *c, robj *key, robj *reply) {
}
}
/* Object command allows to inspect the internals of an Redis Object.
/* Object command allows to inspect the internals of an Redis Object.
* Usage: OBJECT <
verb> ... arguments ...
*/
* Usage: OBJECT <
refcount|encoding|idletime> <key>
*/
void
objectCommand
(
redisClient
*
c
)
{
void
objectCommand
(
redisClient
*
c
)
{
robj
*
o
;
robj
*
o
;
...
...
src/redis.c
View file @
9e7e0cd6
...
@@ -266,7 +266,7 @@ struct redisCommand redisCommandTable[] = {
...
@@ -266,7 +266,7 @@ struct redisCommand redisCommandTable[] = {
{
"readonly"
,
readonlyCommand
,
1
,
"rF"
,
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
},
{
"readwrite"
,
readwriteCommand
,
1
,
"rF"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"dump"
,
dumpCommand
,
2
,
"ar"
,
0
,
NULL
,
1
,
1
,
1
,
0
,
0
},
{
"dump"
,
dumpCommand
,
2
,
"ar"
,
0
,
NULL
,
1
,
1
,
1
,
0
,
0
},
{
"object"
,
objectCommand
,
-
2
,
"r"
,
0
,
NULL
,
2
,
2
,
2
,
0
,
0
},
{
"object"
,
objectCommand
,
3
,
"r"
,
0
,
NULL
,
2
,
2
,
2
,
0
,
0
},
{
"client"
,
clientCommand
,
-
2
,
"ar"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"client"
,
clientCommand
,
-
2
,
"ar"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"eval"
,
evalCommand
,
-
3
,
"s"
,
0
,
evalGetKeys
,
0
,
0
,
0
,
0
,
0
},
{
"eval"
,
evalCommand
,
-
3
,
"s"
,
0
,
evalGetKeys
,
0
,
0
,
0
,
0
,
0
},
{
"evalsha"
,
evalShaCommand
,
-
3
,
"s"
,
0
,
evalGetKeys
,
0
,
0
,
0
,
0
,
0
},
{
"evalsha"
,
evalShaCommand
,
-
3
,
"s"
,
0
,
evalGetKeys
,
0
,
0
,
0
,
0
,
0
},
...
...
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