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

Bug fix : Fix error return when SET NX/XX command fails #1343

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

gtygo
Copy link
Contributor

@gtygo gtygo commented Mar 22, 2023

Fix a bug in the process of executing the SET command.
When the SET command contains parameters: NX or XX and the execution fails, the wrong RESP information will be written to the i/o buffer: *-1\r\n (Null Array), in fact, the correct return format should be: $-1\r\n (Null Bulk String), this wrong return will cause some Redis clients to generate some exceptions.

@wanghenshui wanghenshui merged commit dd7a4c6 into OpenAtomFoundation:unstable Mar 22, 2023
@wanghenshui
Copy link
Collaborator

thanks!

bigdaronlee163 pushed a commit to bigdaronlee163/pika that referenced this pull request Jun 8, 2024
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