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
4b61ca46
Commit
4b61ca46
authored
Mar 28, 2011
by
antirez
Browse files
fixed a bug in RENAME getKeys() function
parent
6e1b9b58
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/db.c
View file @
4b61ca46
...
@@ -666,7 +666,7 @@ int *renameGetKeys(struct redisCommand *cmd,robj **argv, int argc, int *numkeys,
...
@@ -666,7 +666,7 @@ int *renameGetKeys(struct redisCommand *cmd,robj **argv, int argc, int *numkeys,
int
*
keys
=
zmalloc
(
sizeof
(
int
));
int
*
keys
=
zmalloc
(
sizeof
(
int
));
*
numkeys
=
1
;
*
numkeys
=
1
;
keys
[
0
]
=
1
;
keys
[
0
]
=
1
;
return
NULL
;
return
keys
;
}
else
{
}
else
{
return
getKeysUsingCommandTable
(
cmd
,
argv
,
argc
,
numkeys
);
return
getKeysUsingCommandTable
(
cmd
,
argv
,
argc
,
numkeys
);
}
}
...
...
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