Skip to content

Support collation in position function#9601

Merged
ti-chi-bot[bot] merged 20 commits intopingcap:masterfrom
xzhangxian1008:fix-9377
Nov 25, 2024
Merged

Support collation in position function#9601
ti-chi-bot[bot] merged 20 commits intopingcap:masterfrom
xzhangxian1008:fix-9377

Conversation

@xzhangxian1008
Copy link
Contributor

What problem does this PR solve?

Issue Number: close #9377
Problem Summary:

What is changed and how it works?


Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

Support collation in `position` function

@ti-chi-bot ti-chi-bot bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/needs-triage-completed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Nov 12, 2024
@xzhangxian1008
Copy link
Contributor Author

/cc @windtalker @yibin87

@ti-chi-bot ti-chi-bot bot requested review from windtalker and yibin87 November 12, 2024 08:12
@yibin87
Copy link
Contributor

yibin87 commented Nov 19, 2024

Generally, use ++variable instead of variable++ unless we do need to keep the unchanged value.

@xzhangxian1008
Copy link
Contributor Author

LibCASCIICaseSensitiveStringSearcher

Modern compiler should know if it needs to create a tmp object for variable++, so I think there is no difference between variable++ and ++variable.

@xzhangxian1008
Copy link
Contributor Author

/cc @windtalker

Copy link
Contributor

@windtalker windtalker left a comment

Choose a reason for hiding this comment

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

lgtm

@ti-chi-bot ti-chi-bot bot added the lgtm label Nov 22, 2024
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Nov 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: windtalker, yibin87

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Nov 22, 2024
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Nov 22, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-11-21 01:12:35.471204313 +0000 UTC m=+80543.090858829: ☑️ agreed by yibin87.
  • 2024-11-22 12:33:35.903126019 +0000 UTC m=+207803.522780546: ☑️ agreed by windtalker.

@xzhangxian1008
Copy link
Contributor Author

/retest

@xzhangxian1008
Copy link
Contributor Author

/cherrypick release-8.1

@ti-chi-bot
Copy link
Member

@xzhangxian1008: once the present PR merges, I will cherry-pick it on top of release-8.1 in the new PR and assign it to you.

Details

In response to this:

/cherrypick release-8.1

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@xzhangxian1008
Copy link
Contributor Author

/retest

1 similar comment
@xzhangxian1008
Copy link
Contributor Author

/retest

@ti-chi-bot ti-chi-bot bot merged commit b335225 into pingcap:master Nov 25, 2024
@ti-chi-bot
Copy link
Member

@xzhangxian1008: new pull request created to branch release-8.1: #9669.

Details

In response to this:

/cherrypick release-8.1

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@xzhangxian1008
Copy link
Contributor Author

/cherrypick release-8.5

@ti-chi-bot
Copy link
Member

@xzhangxian1008: new pull request created to branch release-8.5: #9671.

Details

In response to this:

/cherrypick release-8.5

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

ti-chi-bot bot added a commit that referenced this pull request Dec 25, 2024
close #9377

Co-authored-by: xzhangxian1008 <xzhangxian@foxmail.com>
Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Position function does not support collation

5 participants