1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

New "fill" function in charset_info_st structure

This commit is contained in:
unknown
2003-01-28 14:58:06 +04:00
parent b5f740addf
commit ee7c5f13fa
18 changed files with 57 additions and 11 deletions

View File

@ -1000,7 +1000,7 @@ ulong my_scan_8bit(CHARSET_INFO *cs, const char *str, const char *end, int sq)
return 0;
case MY_SEQ_SPACES:
for (str++ ; str != end ; str++)
for ( ; str < end ; str++)
{
if (!my_isspace(cs,*str))
break;
@ -1010,3 +1010,9 @@ ulong my_scan_8bit(CHARSET_INFO *cs, const char *str, const char *end, int sq)
return 0;
}
}
void my_fill_8bit(CHARSET_INFO *cs __attribute__((unused)),
char *s, uint l, int fill)
{
bfill(s,l,fill);
}