Skip to content

Commit

Permalink
remove intermeidate variable
Browse files Browse the repository at this point in the history
Signed-off-by: tison <wander4096@gmail.com>
  • Loading branch information
tisonkun committed Sep 7, 2021
1 parent 1ea45a5 commit 002b85e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ddl/failtest/fail_db_serial_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,20 +323,17 @@ func TestAddIndexWorkerNum(t *testing.T) {

tests := []struct {
name string
checkBackfillWorkerNum bool
createTable func(*testkit.TestKit)
}{
{
"EnableClusteredIndex",
false,
func(tk *testkit.TestKit) {
tk.Session().GetSessionVars().EnableClusteredIndex = variable.ClusteredIndexDefModeOn
tk.MustExec("create table test_add_index (c1 bigint, c2 bigint, c3 bigint, primary key(c1, c3))")
},
},
{
"DisableClusteredIndex",
true,
func(tk *testkit.TestKit) {
tk.MustExec("create table test_add_index (c1 bigint, c2 bigint, c3 bigint, primary key(c1))")
},
Expand Down

0 comments on commit 002b85e

Please sign in to comment.