Details
Description
LIKE ... ESCAPE xxx expects xxx to be a constant expression. In certain cases subqueries pretend to be constant but not have a value at fix_fields(). In these cases the value of escape stays not initialized.
Attachments
Issue Links
- links to
I'd prohibit "is_exepensive" constant in escape. Because it is against our ususal practice and can be dangerows.
otherwise it is OK.