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

planner: fix incompatible behaviors between prep and non-prep stateme… | tidb-test=pr/2145 #46739

Merged

Conversation

YangKeao
Copy link
Member

@YangKeao YangKeao commented Sep 7, 2023

This is an manual cherry-pick of #42443

What problem does this PR solve?

Issue Number: close #42439

Problem Summary: planner: fix incompatible behaviors between prep and non-prep statements when converting date/time values

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

Please refer to Release Notes Language Style Guide to write a quality release note.

None

@ti-chi-bot ti-chi-bot bot added the release-note-none Denotes a PR that doesn't merit a release note. label Sep 7, 2023
@YangKeao YangKeao requested a review from qw4990 September 7, 2023 03:39
@ti-chi-bot ti-chi-bot bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 7, 2023
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Sep 7, 2023
@YangKeao
Copy link
Member Author

YangKeao commented Sep 7, 2023

/retest

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Sep 7, 2023
@ti-chi-bot
Copy link

ti-chi-bot bot commented Sep 7, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hawkingrei, qw4990

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

The pull request process is described here

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
Copy link

ti-chi-bot bot commented Sep 7, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-09-07 03:48:04.7338681 +0000 UTC m=+2590049.282884086: ☑️ agreed by hawkingrei.
  • 2023-09-07 07:08:33.308572699 +0000 UTC m=+2602077.857588683: ☑️ agreed by qw4990.

@YangKeao
Copy link
Member Author

YangKeao commented Sep 7, 2023

/retest

6 similar comments
@YangKeao
Copy link
Member Author

YangKeao commented Sep 7, 2023

/retest

@YangKeao
Copy link
Member Author

YangKeao commented Sep 7, 2023

/retest

@hawkingrei
Copy link
Member

/retest

@YangKeao
Copy link
Member Author

YangKeao commented Sep 7, 2023

/retest

@hawkingrei
Copy link
Member

/retest

@YangKeao
Copy link
Member Author

YangKeao commented Sep 7, 2023

/retest

@YangKeao YangKeao changed the title planner: fix incompatible behaviors between prep and non-prep stateme… planner: fix incompatible behaviors between prep and non-prep stateme… | tidb-test=pr/2145 Sep 7, 2023
@YangKeao
Copy link
Member Author

YangKeao commented Sep 7, 2023

This PR has to run with modified mysql-test, because of #45224. #45224 is a commit before this PR in this hotfix branch.

@YangKeao
Copy link
Member Author

YangKeao commented Sep 7, 2023

/retest

@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

❗ No coverage uploaded for pull request base (release-6.5-20230425-v6.5.2@9354ebb). Click here to learn what that means.
The diff coverage is n/a.

Additional details and impacted files
@@                       Coverage Diff                        @@
##             release-6.5-20230425-v6.5.2     #46739   +/-   ##
================================================================
  Coverage                               ?   73.4045%           
================================================================
  Files                                  ?       1079           
  Lines                                  ?     345991           
  Branches                               ?          0           
================================================================
  Hits                                   ?     253973           
  Misses                                 ?      75586           
  Partials                               ?      16432           

@ti-chi-bot ti-chi-bot bot merged commit e315400 into pingcap:release-6.5-20230425-v6.5.2 Sep 7, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants