summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorbar@bar.mysql.r18.ru <>2003-03-04 11:04:19 +0400
committerbar@bar.mysql.r18.ru <>2003-03-04 11:04:19 +0400
commitc4dc670d6127cc8129ce57a2bc3ab76538776ad4 (patch)
treed871054113cebc8f3cd4841a7523fced0b1ffec8 /strings
parentdc634a18e9d214e041d6dda9c47656a91266b3de (diff)
downloadmariadb-git-c4dc670d6127cc8129ce57a2bc3ab76538776ad4.tar.gz
Every character set now has binary collation
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/strings/ctype.c b/strings/ctype.c
index 4f6d34ddd7a..04e4e75890b 100644
--- a/strings/ctype.c
+++ b/strings/ctype.c
@@ -201,6 +201,8 @@ static int cs_value(MY_XML_PARSER *st,const char *attr, uint len)
case _CS_FLAG:
if (!strncmp("primary",attr,len))
i->cs.state|= MY_CS_PRIMARY;
+ else if (!strncmp("binary",attr,len))
+ i->cs.state|= MY_CS_BINSORT;
break;
case _CS_UPPERMAP:
fill_uchar(i->to_upper,MY_CS_TO_UPPER_TABLE_SIZE,attr,len);