ddl : fix column collate should use table's if it has when create table or alter table. (#13119 & #12327)#13190
Merged
bb7133 merged 3 commits intopingcap:release-2.1from Nov 6, 2019
Merged
Conversation
…le or alter table. (pingcap#13119) fix column's collation should use table's collation
Contributor
Author
|
/run-all-tests |
bb7133
reviewed
Nov 6, 2019
| 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" + |
Contributor
Author
There was a problem hiding this comment.
Cause backport change the output in show.go. CHARACTER is same to master/mysql.
bb7133
approved these changes
Nov 6, 2019
Contributor
|
Sorry @bb7133, you don't have permission to trigger auto merge event on this branch. |
Member
|
/run-all-tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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