• A
    Fix CONFIG REWRITE handling of unknown options. · 4ad219ad
    antirez 提交于
    There were two problems with the implementation.
    
    1) "save" was not correctly processed when no save point was configured,
       as reported in issue #1416.
    2) The way the code checked if an option existed in the "processed"
       dictionary was wrong, as we add the element with as a key associated
       with a NULL value, so dictFetchValue() can't be used to check for
       existance, but dictFind() must be used, that returns NULL only if the
       entry does not exist at all.
    4ad219ad
config.c 74.8 KB