mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
func_like.result:
LIKE crashed mysqld for binary collations in some cases
This commit is contained in:
@ -155,3 +155,6 @@ select * from t1 where a like '%ESKA%';
|
|||||||
a
|
a
|
||||||
PPUH PESKA-I Maria Struniarska
|
PPUH PESKA-I Maria Struniarska
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
select _cp866'aaaaaaaaa' like _cp866'%aaaa%' collate cp866_bin;
|
||||||
|
_cp866'aaaaaaaaa' like _cp866'%aaaa%' collate cp866_bin
|
||||||
|
1
|
||||||
|
@ -90,3 +90,9 @@ select * from t1 where a like '%PES%';
|
|||||||
select * from t1 where a like '%PESKA%';
|
select * from t1 where a like '%PESKA%';
|
||||||
select * from t1 where a like '%ESKA%';
|
select * from t1 where a like '%ESKA%';
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# LIKE crashed for binary collations in some cases
|
||||||
|
#
|
||||||
|
select _cp866'aaaaaaaaa' like _cp866'%aaaa%' collate cp866_bin;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user