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

cop: Fix float_str_to_int_str bugs and refactor it as same as TiDB #5133

Closed
wants to merge 7 commits into from

Conversation

H-ZeX
Copy link
Contributor

@H-ZeX H-ZeX commented Jul 25, 2019

What have you changed? (mandatory)

Fix some bugs

  • 6.01e-1 -> 0
  • -0.0 -> -0 (TiDB version is 0)
  • etc.

Refactor the impl to make it the same as TiDB version(pingcap/tidb#11376) .
The origin impl is very different from TiDB version, so it is hard for the maintainer to find the difference between them, and it is hard to verify whether they as the same after TiDB change some code of it.

What are the type of the changes? (mandatory)

The currently defined types are listed below, please pick one of the types for this PR by removing the others:

  • Bug fix (change which fixes an issue)
  • Engineering (engineering change which doesn't change any feature or fix any issue)

How has this PR been tested? (mandatory)

  • uint test

Does this PR affect documentation (docs) or release note? (mandatory)

No

Does this PR affect tidb-ansible update? (mandatory)

No

Signed-off-by: H-ZeX <hzx20112012@gmail.com>
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
@H-ZeX H-ZeX closed this Jul 25, 2019
@H-ZeX H-ZeX deleted the fix-float_str_to_int_str-bugs branch July 25, 2019 05:03
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

1 participant