• antirez's avatar
    Fix CONFIG REWRITE handling of unknown options. · e7893842
    antirez authored
    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.
    e7893842
config.c 76.2 KB