• Moti Cohen's avatar
    Fix rdbLoadObject() empty hash (#13347) · e18a173a
    Moti Cohen authored
    As part of HFE feature, the logic of rdbLoadObject() was wrongly
    modified to indicate of loaded empty hash from RDB as hash that all its
    fields got expired. Rollback to `emptykey` logic. This function should
    load blindly all fields, expired or not. Manually verified.
    
    Few more minor fixes:
    - remove hash double check of emptyKey
    - Fix from `sds` to `hfield` in rdbLoadObject() (not really a bug. Both
    are of type char*)
    - Revert code rdbLoadObject() to get dbid instead of db
    e18a173a
rdb.h 7.53 KB