Skip to content

Commit

Permalink
fix set variables
Browse files Browse the repository at this point in the history
Signed-off-by: wjhuang2016 <[email protected]>
  • Loading branch information
wjhuang2016 committed Dec 17, 2024
1 parent e4178b1 commit 29e0fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqlgenerator/qpg_mutator.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ var SetVariable = NewFn(func(state *State) Fn {
And(Str("set"), Str("tidb_index_lookup_size"), Str("="), Or(Str("16"), Str("64"), Str("20000"))),
And(Str("set"), Str("tidb_init_chunk_size"), Str("="), Or(Str("2"), Str("32"))),
And(Str("set"), Str("tidb_partition_prune_mode"), Str("="), Or(Str("'dynamic'"), Str("'static'"))),
And(Str("set"), Str("tidb_ddl_enable_fast_reorg"), Str("="), Or(Str("'0'"), Str("'1'"))),
And(Str("set"), Str("tidb_enable_dist_tasktidb_enable_dist_task"), Str("="), Or(Str("'0'"), Str("'1'"))),
And(Str("set global "), Str("tidb_ddl_enable_fast_reorg"), Str("="), Or(Str("'0'"), Str("'1'"))),
And(Str("set global "), Str("tidb_enable_dist_task"), Str("="), Or(Str("'0'"), Str("'1'"))),
)
})

Expand Down

0 comments on commit 29e0fc1

Please sign in to comment.