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

Dealing with side case in relation to text type. #7201

Merged
merged 12 commits into from
Dec 15, 2022

Conversation

iceTTTT
Copy link
Contributor

@iceTTTT iceTTTT commented Dec 15, 2022

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue matrixorigin/MO-Cloud#285

What this PR does / why we need it:

The check of a big/small(more than 23) string should not use type.Width, and I use whether " area == nil" instead.

The width of text is 0, as a sign of unlimited upper bound, And when compare with other string type, the result should
be like the width of text is always bigger.

@matrix-meow matrix-meow added the size/S Denotes a PR that changes [10,99] lines label Dec 15, 2022
@mergify mergify bot added the kind/bug Something isn't working label Dec 15, 2022
Copy link
Contributor

@ouyuanning ouyuanning left a comment

Choose a reason for hiding this comment

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

pls don't commit these csv files .

@mergify mergify bot merged commit db25e24 into matrixorigin:main Dec 15, 2022
@iceTTTT iceTTTT deleted the text1 branch December 29, 2022 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working size/S Denotes a PR that changes [10,99] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants