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
cbf01c0e
Commit
cbf01c0e
authored
Sep 07, 2011
by
Hampus Wessman
Committed by
antirez
Sep 12, 2011
Browse files
Fix crash when chaining brpoplpush with other blocking commands.
parent
214cf637
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_list.c
View file @
cbf01c0e
...
...
@@ -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
();
...
...
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