diff options
author | Binbin <binloveplay1314@qq.com> | 2022-07-26 20:13:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 15:13:13 +0300 |
commit | 00097bf4aa9e28477ee5d9361569f3212fb7493a (patch) | |
tree | 721afbd527312f8b6e3b2c47f1cb6722c0e6fa5a /tests/modules | |
parent | 6f0a27e38e6dc1258f5f5790ec672f7fb555fcfb (diff) | |
download | redis-00097bf4aa9e28477ee5d9361569f3212fb7493a.tar.gz |
Change the return value of rdbLoad function to enums (#11039)
The reason we do this is because in #11036, we added error
log message when failing to open RDB file for reading.
In loadDdataFromDisk we call rdbLoad and also check errno,
now the logging corrupts errno (reported in alpine daily).
It is not safe to rely on errno as we do today, so we change
the return value of rdbLoad function to enums, like we have
when loading an AOF.
Diffstat (limited to 'tests/modules')
0 files changed, 0 insertions, 0 deletions