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

tidb_query: fix the logical behavior of floats (#7342) #7580

Closed
wants to merge 1 commit into from

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Apr 21, 2020

cherry-pick #7342 to release-2.1


Signed-off-by: zhongzc zhongzc_arch@outlook.com

What problem does this PR solve?

See: pingcap/tidb#15927

What is changed and how it works?

Don't round the float value when converting it to bool.

Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor Author

sre-bot commented Apr 21, 2020

/run-all-tests

@sre-bot sre-bot added sig/coprocessor SIG: Coprocessor type/cherry-pick Type: PR - Cherry pick labels Apr 21, 2020
@sre-bot sre-bot added this to the v2.1.20 milestone Apr 21, 2020
@zhongzc zhongzc closed this Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/coprocessor SIG: Coprocessor type/cherry-pick Type: PR - Cherry pick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants