-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
ddl : fix column collate should use table's if it has when create table or alter table. (#13119 & #12327) #13190
Conversation
…le or alter table. (pingcap#13119) fix column's collation should use table's collation
/run-all-tests |
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
@@ -653,8 +653,8 @@ func (s *testIntegrationSuite) TestIgnoreColumnUTF8Charset(c *C) { | |||
c.Assert(err, NotNil) | |||
c.Assert(terror.ErrorEqual(err, table.ErrTruncatedWrongValueForField), IsTrue, Commentf("err %v", err)) | |||
tk.MustQuery("show create table t").Check(testkit.Rows("t CREATE TABLE `t` (\n" + | |||
" `a` varchar(10) CHARSET utf8 COLLATE utf8_bin DEFAULT NULL,\n" + |
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.
Why changing this keyword?
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.
Cause backport change the output in show.go
. CHARACTER is same to master/mysql.
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
Sorry @bb7133, you don't have permission to trigger auto merge event on this branch. |
/run-all-tests |
What problem does this PR solve?
cherry-pick #13119 and #12327 to release-2.1
What is changed and how it works?
Check List
Tests
Release note