Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rdb: corrected RedisModuleIO initialization point (#8014)
- rdbSaveSingleModuleAux() used RedisModuleIO's "bytes" field for tracking written bytes before calling moduleInitIOContext() which sets "bytes" to zero - rdbSaveObject() re-initialized RedisModuleIO too late This return value is not used at the moment since it's only tested against -1, and the actual byte count isn't used yet. Co-authored-by: Tomasz Poradowski <tomasz.poradowski@generiscorp.com>
- Loading branch information