summaryrefslogtreecommitdiff
path: root/strings/ctype-czech.c
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2004-11-22 11:58:40 +0400
committerunknown <bar@mysql.com>2004-11-22 11:58:40 +0400
commit6d6b38c27fcac1da19a11fa07a5f02c2c22635fe (patch)
tree31ad3a81538d6c1313dce3f959bcd8df3a3a2998 /strings/ctype-czech.c
parent5a7198f54d1a11ac7ef70a55c6a9b9044147df54 (diff)
downloadmariadb-git-6d6b38c27fcac1da19a11fa07a5f02c2c22635fe.tar.gz
Bug #6737: REGEXP gives wrong result with case sensitive collation:
- A new flag MY_CS_CSSORT was introduced for case sensitivity. - Item_func_regexp doesn't substiture ICASE not only for binary collations but for case sensitive collations as well.
Diffstat (limited to 'strings/ctype-czech.c')
-rw-r--r--strings/ctype-czech.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/strings/ctype-czech.c b/strings/ctype-czech.c
index 6f9e9f74d35..2177a18504e 100644
--- a/strings/ctype-czech.c
+++ b/strings/ctype-czech.c
@@ -589,12 +589,12 @@ static MY_COLLATION_HANDLER my_collation_latin2_czech_ci_handler =
CHARSET_INFO my_charset_latin2_czech_ci =
{
- 2,0,0, /* number */
- MY_CS_COMPILED|MY_CS_STRNXFRM, /* state */
- "latin2", /* cs name */
- "latin2_czech_cs", /* name */
- "", /* comment */
- NULL, /* tailoring */
+ 2,0,0, /* number */
+ MY_CS_COMPILED|MY_CS_STRNXFRM|MY_CS_CSSORT, /* state */
+ "latin2", /* cs name */
+ "latin2_czech_cs", /* name */
+ "", /* comment */
+ NULL, /* tailoring */
ctype_czech,
to_lower_czech,
to_upper_czech,