RDB: fix MODULE_AUX loading by continuing to next opcode.

Thanks to @JohnSully for noticing this problem.
This commit is contained in:
antirez 2019-07-19 11:12:39 +02:00
parent 5f450e4928
commit bc5cb168f5

View File

@ -2116,6 +2116,7 @@ int rdbLoadRio(rio *rdb, rdbSaveInfo *rsi, int loading_aof) {
/* RDB check mode. */
robj *aux = rdbLoadCheckModuleValue(rdb,name);
decrRefCount(aux);
continue; /* Read next opcode. */
}
}