• Shaya Potter's avatar
    Improve cmd_flags for script/functions in RM_Call (#11159) · bed6d759
    Shaya Potter authored
    When RM_Call was used with `M` (reject OOM), `W` (reject writes),
    as well as `S` (rejecting stale or write commands in "Script mode"),
    it would have only checked the command flags, but not the declared
    script flag in case it's a command that runs a script.
    
    Refactoring: extracts out similar code in server.c's processCommand
    to be usable in RM_Call as well.
    bed6d759
server.h 167 KB