mirror of
https://github.com/fluencelabs/redis
synced 2025-04-30 13:02:14 +00:00
Fix crash when chaining brpoplpush with other blocking commands.
This commit is contained in:
parent
214cf63730
commit
cbf01c0e01
@ -643,7 +643,7 @@ void lremCommand(redisClient *c) {
|
||||
void rpoplpushHandlePush(redisClient *origclient, redisClient *c, robj *dstkey, robj *dstobj, robj *value) {
|
||||
robj *aux;
|
||||
|
||||
if (!handleClientsWaitingListPush(c,dstkey,value)) {
|
||||
if (!handleClientsWaitingListPush(origclient,dstkey,value)) {
|
||||
/* Create the list if the key does not exist */
|
||||
if (!dstobj) {
|
||||
dstobj = createZiplistObject();
|
||||
|
Loading…
x
Reference in New Issue
Block a user