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

GETRANGE and SUBSTR should return nil on missing keys, like GET does #11741

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Conversation

enjoy-binbin
Copy link
Collaborator

Currently GETRANGE and SUBSTR returns an empty string,
(shared.emptybulk) on missing keys. See #11378, they should
return nil in this case, like GET dose.

This is a breaking change, and will be part of Redis 8.0.
Fixes #11378

Currently GETRANGE and SUBSTR returns an empty string,
(shared.emptybulk) on missing keys. See redis#11378, they should
return nil in this case, like GET dose.

This is a breaking change, and will be part of Redis 8.0.
Fixes redis#11378
@enjoy-binbin enjoy-binbin added the breaking-change This change can potentially break existing application label Nov 16, 2023
@CLAassistant
Copy link

CLAassistant commented Mar 24, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change This change can potentially break existing application
Projects
Status: Awaits Merge
Development

Successfully merging this pull request may close these issues.

GETRANGE returns an empty string for nonexistent keys
3 participants