Skip to content

Commit

Permalink
ddl: Stabilise TestAlterModifyColumnOnPartitionedTableFail, due to #3…
Browse files Browse the repository at this point in the history
  • Loading branch information
mjonss authored Dec 8, 2022
1 parent c21dc26 commit 168c2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/db_partition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4709,7 +4709,7 @@ func TestAlterModifyColumnOnPartitionedTableFail(t *testing.T) {
tk.MustExec(`SET SQL_MODE = ''`)
tk.MustExec(`alter table t modify a varchar(5)`)
// fix https://github.com/pingcap/tidb/issues/38669 and update this
tk.MustQuery(`show warnings`).Check(testkit.Rows())
//tk.MustQuery(`show warnings`).Check(testkit.Rows("Warning 1265 Data truncated for column 'a', value is '34 💥💥Longer than 11111'"))
tk.MustExec(`SET SQL_MODE = DEFAULT`)
tk.MustQuery(`select * from t`).Sort().Check(testkit.Rows(""+
"23 23",
Expand Down

0 comments on commit 168c2ab

Please sign in to comment.