Skip to content

Commit

Permalink
Update fail_db_test.go
Browse files Browse the repository at this point in the history
According to review suggestion
  • Loading branch information
mjonss authored Oct 10, 2022
1 parent 6f03dd8 commit 4b119dd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ddl/failtest/fail_db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,6 @@ func TestModifyColumn(t *testing.T) {
tk.MustExec("admin check table t")

// Test unsupported statements.
tk.MustExec("create table t1(a int) partition by hash (a) partitions 2")
tk.MustExec("alter table t1 modify column a mediumint")
tk.MustExec("create table t2(id int, a int, b int generated always as (abs(a)) virtual, c int generated always as (a+1) stored)")
tk.MustGetErrMsg("alter table t2 modify column b mediumint", "[ddl:8200]Unsupported modify column: newCol IsGenerated false, oldCol IsGenerated true")
tk.MustGetErrMsg("alter table t2 modify column c mediumint", "[ddl:8200]Unsupported modify column: newCol IsGenerated false, oldCol IsGenerated true")
Expand Down

0 comments on commit 4b119dd

Please sign in to comment.