Skip to content

Commit

Permalink
expression: change the log level of an confusing log from warn to deb…
Browse files Browse the repository at this point in the history
…ug (#30484)
  • Loading branch information
XuHuaiyu authored Dec 8, 2021
1 parent 6229c89 commit e15e457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expression/builtin_string.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ func (c *concatFunctionClass) getFunction(ctx sessionctx.Context, args []Express

if argType.Flen < 0 {
bf.tp.Flen = mysql.MaxBlobWidth
logutil.BgLogger().Warn("unexpected `Flen` value(-1) in CONCAT's args", zap.Int("arg's index", i))
logutil.BgLogger().Debug("unexpected `Flen` value(-1) in CONCAT's args", zap.Int("arg's index", i))
}
bf.tp.Flen += argType.Flen
}
Expand Down Expand Up @@ -365,7 +365,7 @@ func (c *concatWSFunctionClass) getFunction(ctx sessionctx.Context, args []Expre
if i != 0 {
if argType.Flen < 0 {
bf.tp.Flen = mysql.MaxBlobWidth
logutil.BgLogger().Warn("unexpected `Flen` value(-1) in CONCAT_WS's args", zap.Int("arg's index", i))
logutil.BgLogger().Debug("unexpected `Flen` value(-1) in CONCAT_WS's args", zap.Int("arg's index", i))
}
bf.tp.Flen += argType.Flen
}
Expand Down

0 comments on commit e15e457

Please sign in to comment.