Skip to content

Make unlink consistent with del when an empty keyset passed #1316

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

Conversation

viralpraxis
Copy link
Contributor

del returns zero immideately if no keys were passed, I think it makes sense to do the same for unlink?

It simplifies and makes safer migration to unlinking

`del` returns zero immideately if no keys were passed,
I think it makes sense to do the same for `unlink`?

It simplifies and makes safer migration to unlinking
@byroot byroot merged commit 0ac1853 into redis:master Jul 17, 2025
17 of 18 checks passed
@viralpraxis viralpraxis deleted the make-unlink-consistent-with-del-when-empty-keyset-passed branch July 21, 2025 07:20
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.

2 participants