• guybe7's avatar
    Dediacted member to hold RedisModuleCommand (#10681) · 815a6f84
    guybe7 authored
    Fix #10552
    
    We no longer piggyback getkeys_proc to hold the RedisModuleCommand struct, when exists
    
    Others:
    Use `doesCommandHaveKeys` in `RM_GetCommandKeysWithFlags` and `getKeysSubcommandImpl`.
    It causes a very minor behavioral change in commands that don't have actual keys, but have a spec
    with `CMD_KEY_NOT_KEY`.
    For example, before this command `COMMAND GETKEYS SPUBLISH` would return
    `Invalid arguments specified for command` but not it returns `The command has no key arguments`
    815a6f84
module.c 506 KB