• antirez's avatar
    Stop access to global vars. Not configurable. · 6663653f
    antirez authored
    After considering the interaction between ability to delcare globals in
    scripts using the 'global' function, and the complexities related to
    hanlding replication and AOF in a sane way with globals AND ability to
    turn protection On and Off, we reconsidered the design. The new design
    makes clear that there is only one good way to write Redis scripts, that
    is not using globals. In the rare cases state must be retained across
    calls a Redis key can be used.
    6663653f
scripting.c 31.9 KB