parser: add collations from MySQL 8.0#33212
Conversation
Signed-off-by: lance6716 <lance6716@gmail.com>
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/run-mysql-test |
|
|
||
| "github.com/pingcap/errors" | ||
| "github.com/stretchr/testify/require" | ||
|
|
There was a problem hiding this comment.
what's the rule of separating 3-rd party imports? parser/charset/charset.go did so but this file didn't
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: e68b419 |
|
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/27d18f29f627cda5b93fda20ebdb43ca16ffd2e6 |
Signed-off-by: lance6716 lance6716@gmail.com
What problem does this PR solve?
Issue Number: ref #7968
Problem Summary:
DM failed to parse CREATE TABLE when upstream is MySQL 8.0, like https://asktug.com/t/topic/573639
What is changed and how it works?
add parser support for collations in MySQL 8.0.
Check List
Tests
Side effects
Documentation
Release note