Skip to content

Conversation

@oranagra
Copy link
Member

@oranagra oranagra commented Mar 28, 2022

There are a few places that use a hard coded const of 128 to allocate a buffer for d2string.
Replace these with a clear macro.
Note that In theory, converting double into string could take as much as nearly 400 chars, but since d2string uses %g and not %f, it won't pass some 40 chars.

unrelated:
restore some changes to auto generated commands.c that got accidentally reverted in #10293

@oranagra oranagra requested a review from yossigo March 28, 2022 12:23
@oranagra oranagra merged commit 14b1988 into redis:unstable Mar 28, 2022
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