diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-04-28 10:53:07 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-04-28 11:05:50 +0400 |
commit | eb9b03ab488d160aee487389605941a584e6074d (patch) | |
tree | 03b3461c56dcd5d06465f8662091a45365060338 /mysql-test/include | |
parent | d3534d5b45a419260d0292d72a6a21f2a2ba2582 (diff) | |
download | mariadb-git-eb9b03ab488d160aee487389605941a584e6074d.tar.gz |
MDEV-13335 UTF8 escape wildcard LIKE match has different behavior in different collations
The fix for MDEV-17064 addressed this problem. Adding tests only.
Diffstat (limited to 'mysql-test/include')
-rw-r--r-- | mysql-test/include/ctype_like_escape.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/include/ctype_like_escape.inc b/mysql-test/include/ctype_like_escape.inc index d4abc33c178..f817bc03e74 100644 --- a/mysql-test/include/ctype_like_escape.inc +++ b/mysql-test/include/ctype_like_escape.inc @@ -16,3 +16,9 @@ select c1 as c1u from t1 where c1 like 'ab\_def'; # should return ab_def select c1 as c2h from t1 where c1 like 'ab#_def' escape '#'; drop table t1; + +# +# MDEV-13335 UTF8 escape wildcard LIKE match has different behavior in different collations +# +SELECT @@collation_connection; +SELECT '\%b' LIKE '%\%'; |