From d4d9a9b1d1ff2af74ed3215b5dca5c1f5c8f8b07 Mon Sep 17 00:00:00 2001 From: xuhuaiyu <391585975@qq.com> Date: Tue, 7 Dec 2021 17:07:37 +0800 Subject: [PATCH] expression: change the log level of an confusing log from warn to debug --- expression/builtin_string.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expression/builtin_string.go b/expression/builtin_string.go index c15e4d4200920..9ac2eb370d380 100644 --- a/expression/builtin_string.go +++ b/expression/builtin_string.go @@ -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 } @@ -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 }