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
1d05b53f
Commit
1d05b53f
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
e1f01c9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_list.c
View file @
1d05b53f
...
...
@@ -638,7 +638,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