From a8b144be3e41a21b8d9c5853bfcff5a87a4bb4d7 Mon Sep 17 00:00:00 2001 From: tdakkota Date: Sun, 18 Oct 2020 03:10:15 +0300 Subject: [PATCH] fix: error message misspell --- sql/query/expr/like.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/query/expr/like.go b/sql/query/expr/like.go index fee8acd11..6bbc2c77e 100644 --- a/sql/query/expr/like.go +++ b/sql/query/expr/like.go @@ -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)) {