Skip to content

[no-release-notes] Ensure the injected bind variables in tests use the same byte values as the variables they replace, in order to be parsed the same.#2406

Closed
nicktobey wants to merge 1 commit intomainfrom
nicktobey/bind
Closed

[no-release-notes] Ensure the injected bind variables in tests use the same byte values as the variables they replace, in order to be parsed the same.#2406
nicktobey wants to merge 1 commit intomainfrom
nicktobey/bind

Conversation

@nicktobey
Copy link
Contributor

This fixes an issue with prepared tests where a value like "1e-1" would be correctly parsed as a float, but when it gets replaced with an injected bind variable, the bind variable would have the byte sequence "0.1", causing it to then get parsed as a decimal.

…as the variables they replace, in order to be parsed the same.
@nicktobey nicktobey requested review from jycor and max-hoffman March 20, 2024 19:14
Copy link
Contributor

@jycor jycor left a comment

Choose a reason for hiding this comment

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

LGTM

@nicktobey
Copy link
Contributor Author

Closing in favor of dolthub/vitess#324

@nicktobey nicktobey closed this Mar 21, 2024
@nicktobey nicktobey deleted the nicktobey/bind branch March 21, 2024 00:02
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