]> git.saurik.com Git - redis.git/blobdiff - src/t_list.c
Update target encoding for sorted set from rdb
[redis.git] / src / t_list.c
index c9ec2e67979d549f4268dd8fa0c5c663de0c7827..9e6590929a64e450f386e6550c66b3b6b33d3bc5 100644 (file)
@@ -826,7 +826,7 @@ int handleClientsWaitingListPush(redisClient *c, robj *key, robj *ele) {
             addReplyBulk(receiver,ele);
             return 1;
         } else {
-            /* BRPOPLPUSH */
+            /* BRPOPLPUSH, note that receiver->db is always equal to c->db. */
             dstobj = lookupKeyWrite(receiver->db,dstkey);
             if (dstobj && checkType(receiver,dstobj,REDIS_LIST)) {
                 decrRefCount(dstkey);