Skip to content

Instantly share code, notes, and snippets.

@badboy
Created May 21, 2014 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save badboy/5f3ec4c7cec270551c75 to your computer and use it in GitHub Desktop.
Save badboy/5f3ec4c7cec270551c75 to your computer and use it in GitHub Desktop.
127.0.0.1:6379> eval "redis.call('set', 'foo', 'bar'); f(); redis.call('set', 'foo', '2');" 0
(error) ERR Error running script (call to f_8e450ff4aa4925d318b9953547a547a288d78d38): @enable_strict_lua:14: user_script:1: Script attempted to access unexisting global variable 'f'
127.0.0.1:6379> get foo
"bar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment