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: issue #1115 handling integer parsing in SETBIT in certain situation #1155

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

Conversation

kaushal-003
Copy link

This PR closes issue #1115:

Description:

  • Updated ByteSliceToObj function to handle integer parsing more robustly. If the modified byte array can't be parsed as an integer, it now defaults to a string format(similar to how redis handles it).
  • added corresponding unit test with expected output.

Copy link
Contributor

@apoorvyadav1111 apoorvyadav1111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking merge until #1017 is closed.
Thanks

@JyotinderSingh
Copy link
Collaborator

@apoorvyadav1111 is this PR unblocked now?

@apoorvyadav1111
Copy link
Contributor

Yes @JyotinderSingh , we can merge this now

@JyotinderSingh
Copy link
Collaborator

@kaushal-003 please rebase on the latest master

@kaushal-003
Copy link
Author

Sure, will do it by tonight.

@kaushal-003
Copy link
Author

@JyotinderSingh Done rebasing

Copy link
Contributor

@apoorvyadav1111 apoorvyadav1111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please add tests for this functionality?

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.

3 participants