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

Fix Redis#exists? to return boolean value for multiple key match. #918

Merged
merged 1 commit into from Jun 10, 2020

Conversation

tgxworld
Copy link
Contributor

@tgxworld tgxworld commented Jun 10, 2020

$ bin/console
irb(main):001:0> redis = Redis.new
irb(main):002:0> redis.exists?("test", "test5", "test2")
=> 2

@tgxworld
Copy link
Contributor Author

@byroot I was trying to upgrade to 4.2 and noticed Redis#exists? returning the integer when more than one key matches.

The test failure here is unrelated.

@byroot byroot merged commit 8982fa2 into redis:master Jun 10, 2020
@byroot
Copy link
Collaborator

byroot commented Jun 10, 2020

Thanks.

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

Successfully merging this pull request may close these issues.

None yet

2 participants