diff --git a/table/tables/tables_test.go b/table/tables/tables_test.go index dfd38db8d8bce..2711d22f8407c 100644 --- a/table/tables/tables_test.go +++ b/table/tables/tables_test.go @@ -18,7 +18,6 @@ import ( "context" "fmt" "math" - "math/rand" "strconv" "testing" "time" @@ -957,17 +956,3 @@ func TestTxnAssertion(t *testing.T) { testUntouchedIndexImpl("OFF", false) testUntouchedIndexImpl("OFF", true) } - -func TestReuseColumnMapsInMutationChecker(t *testing.T) { - store, clean := testkit.CreateMockStore(t) - defer clean() - tk := testkit.NewTestKit(t, store) - tk.MustExec("use test") - tk.MustExec("create table t (a int, b int, c int, primary key(a))") - tk.MustExec("create table t_2 (a int, b int, c int, primary key(a))") - for i := 0; i < 1000; i++ { - tk.MustExec(fmt.Sprintf("insert into t values(%d, %d, %d)", i, rand.Int()%10000, rand.Int()%10000)) - } - tk.MustExec("set @@tidb_enable_mutation_checker=1") - tk.MustExec("insert into t_2 select * from t") -}