Skip to content

types: Don't check Flen when Tp is double or float in FieldType.Equal.#832

Merged
LittleFall merged 3 commits intopingcap:masterfrom
LittleFall:float-flen-free
Apr 26, 2020
Merged

types: Don't check Flen when Tp is double or float in FieldType.Equal.#832
LittleFall merged 3 commits intopingcap:masterfrom
LittleFall:float-flen-free

Conversation

@LittleFall
Copy link
Contributor

@LittleFall LittleFall commented Apr 26, 2020

What is changed and how it works?

Don't check Flen when Tp is double or float in FieldType.Equal, because Flen for them is only used to distinguish float and double.

Check List

Tests

  • Integration test (sorry but make test even for master is failed)

Code changes

  • Has exported function/method change

@LittleFall LittleFall requested a review from a team April 26, 2020 08:33
@CLAassistant
Copy link

CLAassistant commented Apr 26, 2020

CLA assistant check
All committers have signed the CLA.

@ghost ghost requested review from kennytm and removed request for a team April 26, 2020 08:33
@codecov
Copy link

codecov bot commented Apr 26, 2020

Codecov Report

Merging #832 into master will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #832   +/-   ##
=======================================
  Coverage   78.35%   78.35%           
=======================================
  Files          40       40           
  Lines       14755    14755           
=======================================
  Hits        11562    11562           
  Misses       2512     2512           
  Partials      681      681           

Copy link
Member

@wjhuang2016 wjhuang2016 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Deardrops Deardrops left a comment

Choose a reason for hiding this comment

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

LGTM

@LittleFall LittleFall merged commit 886e5fe into pingcap:master Apr 26, 2020
@LittleFall LittleFall deleted the float-flen-free branch April 26, 2020 09:35
LittleFall added a commit that referenced this pull request Apr 28, 2020
tiancaiamao pushed a commit to tiancaiamao/parser that referenced this pull request Apr 27, 2021
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.

4 participants