Skip to content

Commit 2408dc5

Browse files
author
James Cor
committed
match even when collation is unspecified
1 parent c62c7e3 commit 2408dc5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sql/expression/like.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,6 @@ func (l *Like) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) {
120120
if err != nil {
121121
return nil, err
122122
}
123-
if lm.collation == sql.Collation_Unspecified {
124-
return false, nil
125-
}
126123

127124
ok := lm.Match(left.(string))
128125
if l.cached {

0 commit comments

Comments
 (0)