Skip to content
Snippets Groups Projects
user avatar
Roman Khabibov authored
According to ANSI, LIKE should match characters taking into
account passed collation.

ISO/IEC JTC 1/SC 32 2011, Part 2: Foundation, 8.5

Closes #3589

@TarantoolBot document
Title: LIKE depends on collations

Now <LIKE> operator depends on arguments' collations. Collation to be
used is determined by common rules: if explicit collation or collations
(and in case they are compatible) is specified, then it is used to
process pattern matching; otherwise implicit collation of arguments are
checked to be compatible and (in case they are) resulting collation is
used. Moreover, it means that PRAGMA "case_sensitive_like" has been
removed.
37cd7a37
History
Name Last commit Last update