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
a577230a
Commit
a577230a
authored
Nov 08, 2018
by
antirez
Browse files
RESP3: Use new deferred len API in t_string.c.
parent
07bce540
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_string.c
View file @
a577230a
...
...
@@ -285,7 +285,7 @@ void getrangeCommand(client *c) {
void
mgetCommand
(
client
*
c
)
{
int
j
;
addReply
MultiBulk
Len
(
c
,
c
->
argc
-
1
);
addReply
Array
Len
(
c
,
c
->
argc
-
1
);
for
(
j
=
1
;
j
<
c
->
argc
;
j
++
)
{
robj
*
o
=
lookupKeyRead
(
c
->
db
,
c
->
argv
[
j
]);
if
(
o
==
NULL
)
{
...
...
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