Skip to content

Commit

Permalink
Update sysvar.go
Browse files Browse the repository at this point in the history
  • Loading branch information
espresso98 authored Apr 30, 2022
1 parent 003891d commit 0e6491a
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 @@ -680,7 +680,7 @@ var defaultSysVars = []*SysVar{
{Scope: ScopeGlobal, Name: TiDBQueryLogMaxLen, Value: strconv.Itoa(DefTiDBQueryLogMaxLen), Type: TypeInt, MinValue: 0, MaxValue: 1073741824, SetGlobal: func(s *SessionVars, val string) error {
QueryLogMaxLen.Store(int32(TidbOptInt64(val, DefTiDBQueryLogMaxLen)))
return nil
}, GetGlobal: func(s *SessionVars) (string, error) {
}, GetGlobal: func(s *SessionVars) (string, error) {
return fmt.Sprint(QueryLogMaxLen.Load()), nil
}},

Expand Down

0 comments on commit 0e6491a

Please sign in to comment.