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

model: add new field to explict charset&collation in ColumnInfo #205

Closed
wants to merge 5 commits into from
Closed

model: add new field to explict charset&collation in ColumnInfo #205

wants to merge 5 commits into from

Conversation

xiekeyi98
Copy link
Contributor

What problem does this PR solve?

To solve pingcap/tidb#9113 , we need change ColumnInfo a little.

What is changed and how it works?

Add a field ExplictedCollation .

model/model.go Outdated
@@ -83,6 +83,7 @@ type ColumnInfo struct {
types.FieldType `json:"type"`
State SchemaState `json:"state"`
Comment string `json:"comment"`
ExplictedCollation bool `json:"explicted_collation"`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Any other better variable name ? I think this name is not good enough, but I cannot find a better name(avoid too long).
And I modeled the variable name of MYSQL(In MYSQL, this name is column_has_explicit_collation).

model/model.go Outdated Show resolved Hide resolved
@xiekeyi98
Copy link
Contributor Author

I make something wrong.
Sorry for bother everyone.
This PR will be closed because it is not necessary now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants