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

show column comment, table auto-increment; change index default collation #4303

Merged
merged 5 commits into from
Aug 26, 2017

Conversation

mxlxm
Copy link
Contributor

@mxlxm mxlxm commented Aug 23, 2017

- 2. show column comment. fix pingcap#4224.
- 3. show table auto-increment. fix pingcap#3747.
@jackysp jackysp added the contribution This PR is from a community contributor. label Aug 24, 2017
Copy link
Member

@jackysp jackysp left a comment

Choose a reason for hiding this comment

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

LGTM. PTAL @breeswish

@@ -712,7 +712,7 @@ func dataForColumnsInTable(schema *model.DBInfo, tbl *model.TableInfo) [][]types
columnDesc.Key, // COLUMN_KEY
columnDesc.Extra, // EXTRA
"select,insert,update,references", // PRIVILEGES
"", // COLUMN_COMMENT
col.Comment, // COLUMN_COMMENT
Copy link
Member

Choose a reason for hiding this comment

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

I think it would be better to use columnDesc.Comment here.

@ngaut
Copy link
Member

ngaut commented Aug 26, 2017

LGTM

@ngaut ngaut added the status/LGT2 Indicates that a PR has LGTM 2. label Aug 26, 2017
@ngaut ngaut merged commit 9367fdd into pingcap:master Aug 26, 2017
@mxlxm mxlxm deleted the fix-col-comment-and-table-auto-increment branch August 29, 2017 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SHOW FULL COLUMNS fail to show a table/column comments auto_increment is missing from show create table
4 participants