Commit 9f60a6bc authored by antirez's avatar antirez
Browse files

CG: RDB loading, fix inverted conditional.

parent f4e1a4de
......@@ -1670,7 +1670,7 @@ robj *rdbLoadObject(int rdbtype, rio *rdb) {
* loading the global PEL. Then set the same shared
* NACK structure also in the consumer-specific PEL. */
nack->consumer = consumer;
if (raxInsert(consumer->pel,rawid,sizeof(rawid),nack,NULL))
if (!raxInsert(consumer->pel,rawid,sizeof(rawid),nack,NULL))
rdbExitReportCorruptRDB("Duplicated consumer PEL entry "
" loading a stream consumer "
"group");
......
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