-
Notifications
You must be signed in to change notification settings - Fork 490
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
*: add ActionModifyTableCharsetAndCollate to support alter table charset and collate #14
*: add ActionModifyTableCharsetAndCollate to support alter table charset and collate #14
Conversation
…er into support_alter_table_charset
ast/ddl.go
Outdated
@@ -821,6 +821,8 @@ type TableOption struct { | |||
Tp TableOptionType | |||
StrValue string | |||
UintValue uint64 | |||
// Skipped indicate the TableOption can be skipped. | |||
Skipped bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this field is confusing, it's not something belong to TableOption
ActionAddTablePartition ActionType = 19 | ||
ActionDropTablePartition ActionType = 20 | ||
ActionCreateView ActionType = 21 | ||
ActionModifyTableCharsetAndCollate ActionType = 22 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need change var actionMap = map[ActionType]string
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
address
…er into support_alter_table_charset
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Required for pingcap/tidb#8037