Skip to content

Commit

Permalink
fix: error message misspell
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota authored and asdine committed Oct 25, 2020
1 parent 8811478 commit a8b144b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/query/expr/like.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (op likeOp) Eval(ctx EvalStack) (document.Value, error) {
}

if a.Type != document.TextValue || b.Type != document.TextValue {
return nullLitteral, errors.New("LIKE operator takes an text")
return nullLitteral, errors.New("LIKE operator takes a text")
}

if like(b.V.(string), a.V.(string)) {
Expand Down

0 comments on commit a8b144b

Please sign in to comment.