Skip to content

Commit

Permalink
cherry pick #23688 to release-5.0
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
  • Loading branch information
tangenta authored and ti-srebot committed Mar 31, 2021
1 parent d114bb4 commit 8749407
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 127 deletions.
2 changes: 0 additions & 2 deletions ddl/column_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1171,8 +1171,6 @@ func (s *testColumnSuite) TestModifyColumn(c *C) {
}{
{"int", "bigint", nil},
{"int", "int unsigned", errUnsupportedModifyColumn.GenWithStackByArgs("can't change unsigned integer to signed or vice versa, and tidb_enable_change_column_type is false")},
{"varchar(10)", "text", nil},
{"varbinary(10)", "blob", nil},
{"text", "blob", errUnsupportedModifyCharset.GenWithStackByArgs("charset from utf8mb4 to binary")},
{"varchar(10)", "varchar(8)", errUnsupportedModifyColumn.GenWithStackByArgs("length 8 is less than origin 10, and tidb_enable_change_column_type is false")},
{"varchar(10)", "varchar(11)", nil},
Expand Down
Loading

0 comments on commit 8749407

Please sign in to comment.