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

server: make dump binary time more compatible with MySQL (#21127) #21135

Merged
merged 2 commits into from
Nov 19, 2020

Conversation

ti-srebot
Copy link
Contributor

cherry-pick #21127 to release-4.0


Signed-off-by: Shuaipeng Yu jackysp@gmail.com

What problem does this PR solve?

Issue Number: close #xxx

Problem Summary:
Dumping binary time is not compatible with MySQL with short values, e.g. 2020-11-19. MySQL will only dump 4 bytes.

What is changed and how it works?

Proposal: xxx

What's Changed:
Adjust the length with the time value.

How it Works:

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

Release note

  • Make dump binary time more compatible with MySQL

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor Author

/run-all-tests

@ti-srebot
Copy link
Contributor Author

@jackysp you're already a collaborator in bot's repo.

@jackysp
Copy link
Member

jackysp commented Nov 19, 2020

@jackysp
Copy link
Member

jackysp commented Nov 19, 2020

/run-all-tests tidb-test=pr/1108

@cfzjywxk
Copy link
Contributor

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Nov 19, 2020
@lysu
Copy link
Contributor

lysu commented Nov 19, 2020

LGTM

@ti-srebot ti-srebot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Nov 19, 2020
@jackysp
Copy link
Member

jackysp commented Nov 19, 2020

/approve

@ti-srebot ti-srebot added status/LGT3 The PR has already had 3 LGTM. and removed status/LGT2 Indicates that a PR has LGTM 2. labels Nov 19, 2020
@jackysp
Copy link
Member

jackysp commented Nov 19, 2020

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Nov 19, 2020
@ti-srebot
Copy link
Contributor Author

/run-all-tests

@jackysp jackysp merged commit 1ff5fc8 into pingcap:release-4.0 Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/can-merge Indicates a PR has been approved by a committer. status/LGT3 The PR has already had 3 LGTM. type/compatibility type/4.0-cherry-pick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants