summaryrefslogtreecommitdiff
path: root/mysys/charset.c
diff options
context:
space:
mode:
authorramil@mysql.com <>2005-06-16 12:17:15 +0500
committerramil@mysql.com <>2005-06-16 12:17:15 +0500
commit22646589b6c1bc02d16d1c756b6a317ba9184417 (patch)
treef98c3c90bf8d1ec0d5dec50fe05cab4690de4b72 /mysys/charset.c
parentec26af487dd78a5a0e4578dae4d71faf2ba3bd07 (diff)
downloadmariadb-git-22646589b6c1bc02d16d1c756b6a317ba9184417.tar.gz
a fix (bug #10650: Bit literal case sensitivity).
Diffstat (limited to 'mysys/charset.c')
-rw-r--r--mysys/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/charset.c b/mysys/charset.c
index 534a6aa998e..cbd9ba16b4c 100644
--- a/mysys/charset.c
+++ b/mysys/charset.c
@@ -97,7 +97,7 @@ static my_bool init_state_maps(CHARSET_INFO *cs)
/* Special handling of hex and binary strings */
state_map[(uchar)'x']= state_map[(uchar)'X']= (uchar) MY_LEX_IDENT_OR_HEX;
- state_map[(uchar)'b']= state_map[(uchar)'b']= (uchar) MY_LEX_IDENT_OR_BIN;
+ state_map[(uchar)'b']= state_map[(uchar)'B']= (uchar) MY_LEX_IDENT_OR_BIN;
state_map[(uchar)'n']= state_map[(uchar)'N']= (uchar) MY_LEX_IDENT_OR_NCHAR;
return 0;
}