summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-07-19 11:12:39 +0200
committerantirez <antirez@gmail.com>2019-09-25 12:32:49 +0200
commit7a41047a616263279cb97cd9e14c7814a1f47b95 (patch)
treeb7e695afc3bafa3ebc3d057d94952e4b201693d3
parent4eb3028bc64b13ecd4ce47af291d93e8beeb64d1 (diff)
downloadredis-7a41047a616263279cb97cd9e14c7814a1f47b95.tar.gz
RDB: fix MODULE_AUX loading by continuing to next opcode.
Thanks to @JohnSully for noticing this problem.
-rw-r--r--src/rdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rdb.c b/src/rdb.c
index f37999ce2..acbba4bbb 100644
--- a/src/rdb.c
+++ b/src/rdb.c
@@ -2065,6 +2065,7 @@ int rdbLoadRio(rio *rdb, rdbSaveInfo *rsi, int loading_aof) {
/* RDB check mode. */
robj *aux = rdbLoadCheckModuleValue(rdb,name);
decrRefCount(aux);
+ continue; /* Read next opcode. */
}
}