mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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
|
||||
PPUH PESKA-I Maria Struniarska
|
||||
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 '%ESKA%';
|
||||
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