summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-03-04 11:04:19 +0400
committerunknown <bar@bar.mysql.r18.ru>2003-03-04 11:04:19 +0400
commit706bf7765cac17c93d416d78848d88f71ef622a6 (patch)
treed871054113cebc8f3cd4841a7523fced0b1ffec8 /strings
parentc856a6926a2f763de118346bfa1068b09c73c771 (diff)
downloadmariadb-git-706bf7765cac17c93d416d78848d88f71ef622a6.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);