• Binbin's avatar
    Check whether the client is NULL in luaCreateFunction (#12829) · 764838d6
    Binbin authored
    It was first added to load lua from RDB, see 28dfdca7. After #9812,
    we no longer save lua in RDB. luaCreateFunction will only be called
    in script load and eval*, both of which are available in the client.
    
    It could be that that some day we'll still want to load scripts from
    somewhere that's not a client. This fix is in dead code.
    764838d6
eval.c 59.9 KB