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

The client encounters a bug when pasting Lua scripts #5291

Open
xavier-xu99 opened this issue Dec 5, 2023 · 0 comments
Open

The client encounters a bug when pasting Lua scripts #5291

xavier-xu99 opened this issue Dec 5, 2023 · 0 comments
Labels

Comments

@xavier-xu99
Copy link

This is the content of my script.

EVAL "local currentDate = KEYS[1]; local result = {}; for i, key in pairs(redis.call('KEYS', '2023????')) do if tonumber(key) < tonumber(currentDate) then redis.call('DEL', key); table.insert(result, key); end end; redis.call('EXPIRE', currentDate, 86400); return result" 1 20230323 ;

When I copy and paste this script into the client, all content after the '<' (less than) sign is lost. I have to manually input the '<' sign and then paste the remaining content into the client separately.

image
image

  • OS & version: [Windows 10 21H2]
  • Redis-Server version [2021.2]
@xavier-xu99 xavier-xu99 added the bug label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant