Commit ee72487e authored by antirez's avatar antirez
Browse files

TCC: LRANGE: fix non-threaded call object reference.

parent 4ab662f6
...@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment