Rio: remember read/write error conditions.

This commit is contained in:
antirez
2019-07-17 12:36:11 +02:00
parent c56b4ddc6f
commit 48d91cf4cc
3 changed files with 32 additions and 6 deletions

View File

@ -2168,7 +2168,6 @@ int rdbLoadRio(rio *rdb, rdbSaveInfo *rsi, int loading_aof) {
eoferr: /* unexpected end of file is handled here with a fatal exit */
serverLog(LL_WARNING,"Short read or OOM loading DB. Unrecoverable error, aborting now.");
rdbReportReadError("Unexpected EOF reading RDB file");
err:
return C_ERR;
}