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:
@ -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);
|
||||
}
|
Reference in New Issue
Block a user