Skip to content

Commit

Permalink
address weizheng's comment
Browse files Browse the repository at this point in the history
Signed-off-by: AilinKid <314806019@qq.com>
  • Loading branch information
AilinKid committed Aug 31, 2023
1 parent 5a0e891 commit ccd797b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion expression/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,6 @@ func unwrapCast(sctx sessionctx.Context, parentF *ScalarFunction, castOffset int
return NewFunctionInternal(sctx, parentF.FuncName.L, parentF.RetType, c, parentF.GetArgs()[1]), true
}
return NewFunctionInternal(sctx, parentF.FuncName.L, parentF.RetType, parentF.GetArgs()[0], c), true

}

// eliminateCastFunction will detect the original arg before and the cast type after, once upon
Expand Down

0 comments on commit ccd797b

Please sign in to comment.