Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
qw4990 committed Mar 10, 2020
1 parent 143c30c commit 2475837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/collation.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func DeriveCollationFromExprs(ctx sessionctx.Context, exprs ...Expression) (dstC
curCoer, dstCharset, dstCollation, dstFlen = coer, ft.Charset, ft.Collate, ft.Flen
}
}
if hasStrArg == false {
if !hasStrArg {
dstCharset, dstCollation, dstFlen = charset.CharsetBin, charset.CollationBin, types.UnspecifiedLength
}
return
Expand Down

0 comments on commit 2475837

Please sign in to comment.