mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
CG: fix CG RDB loading not found conditional.
This commit is contained in:
parent
34614a1508
commit
f3d9520ccb
@ -1674,7 +1674,7 @@ robj *rdbLoadObject(int rdbtype, rio *rdb) {
|
|||||||
unsigned char rawid[sizeof(streamID)];
|
unsigned char rawid[sizeof(streamID)];
|
||||||
rdbLoadRaw(rdb,rawid,sizeof(rawid));
|
rdbLoadRaw(rdb,rawid,sizeof(rawid));
|
||||||
streamNACK *nack = raxFind(cgroup->pel,rawid,sizeof(rawid));
|
streamNACK *nack = raxFind(cgroup->pel,rawid,sizeof(rawid));
|
||||||
if (nack == NULL)
|
if (nack == raxNotFound)
|
||||||
rdbExitReportCorruptRDB("Consumer entry not found in "
|
rdbExitReportCorruptRDB("Consumer entry not found in "
|
||||||
"group global PEL");
|
"group global PEL");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user