Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unpack() in Lua scripts doesn't work #521

Closed
newacct opened this issue Sep 8, 2024 · 1 comment · Fixed by #524
Closed

unpack() in Lua scripts doesn't work #521

newacct opened this issue Sep 8, 2024 · 1 comment · Fixed by #524
Labels

Comments

@newacct
Copy link

newacct commented Sep 8, 2024

EVAL "unpack({'foo', 'bar'})" 0

causes an error. This is probably because unpack() was moved to table.unpack() in Lua 5.2, and LuaJ 3.x implements Lua 5.2. But Redis uses Lua 5.1.

@inponomarev
Copy link
Collaborator

Fixed in v 1.1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants