func NewLike(left, right sql.Expression) sql.Expression {
	var cached = true
	Inspect(right, func(e sql.Expression) bool {
		if _, ok := e.(*GetField); ok {
			cached = false
		}
		return true
	})
	return &Like{
		BinaryExpression: BinaryExpression{left, right},
		pool:             nil,
		cached:           cached,
	}
}
NewLike creates a new LIKE expression.
package expression
import (
	"bytes"
	"fmt"
	"regexp"
	"strings"
	"sync"
	"github.com/src-d/go-mysql-server/internal/regex"
	"github.com/src-d/go-mysql-server/sql"
)
type Like struct {
	BinaryExpression
	pool   *sync.Pool
	cached bool
}