Loading strings/ctype-simple.c +1 −1 Original line number Diff line number Diff line Loading @@ -1360,7 +1360,7 @@ int my_mb_ctype_8bit(CHARSET_INFO *cs, int *ctype, if (s >= e) { *ctype= 0; return MY_CS_TOOFEW(0); return MY_CS_TOOSMALL; } *ctype= cs->ctype[*s]; return 1; Loading strings/ctype-utf8.c +5 −5 Original line number Diff line number Diff line Loading @@ -3917,7 +3917,7 @@ my_mb_wc_filename(CHARSET_INFO *cs __attribute__((unused)), { int byte1, byte2; if (s >= e) return MY_CS_TOOFEW(0); return MY_CS_TOOSMALL; if (*s < 128 && filename_safe_char[*s]) { Loading @@ -3929,7 +3929,7 @@ my_mb_wc_filename(CHARSET_INFO *cs __attribute__((unused)), return MY_CS_ILSEQ; if (s + 3 > e) return MY_CS_TOOFEW(0); return MY_CS_TOOSMALL3; byte1= s[1]; byte2= s[2]; Loading @@ -3946,7 +3946,7 @@ my_mb_wc_filename(CHARSET_INFO *cs __attribute__((unused)), } if (s + 4 > e) return MY_CS_TOOFEW(0); return MY_CS_TOOSMALL4; if ((byte1= hexlo(byte1)) >= 0 && (byte2= hexlo(byte2)) >= 0) Loading Loading @@ -3977,7 +3977,7 @@ my_wc_mb_filename(CHARSET_INFO *cs __attribute__((unused)), } if (s + 3 > e) return MY_CS_TOOSMALL; return MY_CS_TOOSMALL3; *s++= MY_FILENAME_ESCAPE; if ((wc >= 0x00C0 && wc <= 0x05FF && (code= uni_0C00_05FF[wc - 0x00C0])) || Loading @@ -3993,7 +3993,7 @@ my_wc_mb_filename(CHARSET_INFO *cs __attribute__((unused)), /* Non letter */ if (s + 5 > e) return MY_CS_TOOSMALL; return MY_CS_TOOSMALL5; *s++= hex[(wc >> 12) & 15]; *s++= hex[(wc >> 8) & 15]; Loading Loading
strings/ctype-simple.c +1 −1 Original line number Diff line number Diff line Loading @@ -1360,7 +1360,7 @@ int my_mb_ctype_8bit(CHARSET_INFO *cs, int *ctype, if (s >= e) { *ctype= 0; return MY_CS_TOOFEW(0); return MY_CS_TOOSMALL; } *ctype= cs->ctype[*s]; return 1; Loading
strings/ctype-utf8.c +5 −5 Original line number Diff line number Diff line Loading @@ -3917,7 +3917,7 @@ my_mb_wc_filename(CHARSET_INFO *cs __attribute__((unused)), { int byte1, byte2; if (s >= e) return MY_CS_TOOFEW(0); return MY_CS_TOOSMALL; if (*s < 128 && filename_safe_char[*s]) { Loading @@ -3929,7 +3929,7 @@ my_mb_wc_filename(CHARSET_INFO *cs __attribute__((unused)), return MY_CS_ILSEQ; if (s + 3 > e) return MY_CS_TOOFEW(0); return MY_CS_TOOSMALL3; byte1= s[1]; byte2= s[2]; Loading @@ -3946,7 +3946,7 @@ my_mb_wc_filename(CHARSET_INFO *cs __attribute__((unused)), } if (s + 4 > e) return MY_CS_TOOFEW(0); return MY_CS_TOOSMALL4; if ((byte1= hexlo(byte1)) >= 0 && (byte2= hexlo(byte2)) >= 0) Loading Loading @@ -3977,7 +3977,7 @@ my_wc_mb_filename(CHARSET_INFO *cs __attribute__((unused)), } if (s + 3 > e) return MY_CS_TOOSMALL; return MY_CS_TOOSMALL3; *s++= MY_FILENAME_ESCAPE; if ((wc >= 0x00C0 && wc <= 0x05FF && (code= uni_0C00_05FF[wc - 0x00C0])) || Loading @@ -3993,7 +3993,7 @@ my_wc_mb_filename(CHARSET_INFO *cs __attribute__((unused)), /* Non letter */ if (s + 5 > e) return MY_CS_TOOSMALL; return MY_CS_TOOSMALL5; *s++= hex[(wc >> 12) & 15]; *s++= hex[(wc >> 8) & 15]; Loading