• antirez's avatar
    RESP3: change behavior of Lua returning true/false for RESP3. · 69310049
    antirez authored
    Here we introduce a change in the way we convert values from Lua to
    Redis when RESP3 is selected: this is possible without breaking the fact
    we can return directly what a command returned, because there is no
    Redis command in RESP2 that returns true or false to Lua, so the
    conversion in the case of RESP2 is totally arbitrary. When a script is
    written selecting RESP3 from Lua, it totally makes sense to change such
    behavior and return RESP3 true/false when Lua true/false is returned.
    69310049
scripting.c 93.3 KB