Skip to content

Commit

Permalink
remove SkipInit for TiDBOptAggPushDown
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyifangreeneyes committed Jun 20, 2022
1 parent 682fa12 commit f42d5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sessionctx/variable/sysvar.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ var defaultSysVars = []*SysVar{
s.AllowProjectionPushDown = TiDBOptOn(val)
return nil
}},
{Scope: ScopeSession, Name: TiDBOptAggPushDown, Value: BoolToOnOff(DefOptAggPushDown), Type: TypeBool, skipInit: true, SetSession: func(s *SessionVars, val string) error {
{Scope: ScopeSession, Name: TiDBOptAggPushDown, Value: BoolToOnOff(DefOptAggPushDown), Type: TypeBool, SetSession: func(s *SessionVars, val string) error {
s.AllowAggPushDown = TiDBOptOn(val)
return nil
}},
Expand Down

0 comments on commit f42d5f2

Please sign in to comment.