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
ee72487e
Commit
ee72487e
authored
Jun 03, 2020
by
antirez
Browse files
TCC: LRANGE: fix non-threaded call object reference.
parent
4ab662f6
Changes
1
Show whitespace changes
Inline
Side-by-side
src/t_list.c
View file @
ee72487e
...
@@ -460,6 +460,7 @@ void lrangeCommand(client *c) {
...
@@ -460,6 +460,7 @@ void lrangeCommand(client *c) {
{
{
/* In the case of LRANGE, we execute the command synchronously
/* In the case of LRANGE, we execute the command synchronously
* if we are unable to get a lock. */
* if we are unable to get a lock. */
opt
->
o
=
o
;
lrangeThreadedHalf
(
c
,
opt
);
lrangeThreadedHalf
(
c
,
opt
);
}
else
{
}
else
{
executeThreadedCommand
(
c
,
lrangeThreadedHalf
,
opt
);
executeThreadedCommand
(
c
,
lrangeThreadedHalf
,
opt
);
...
...
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