diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-01-28 14:58:06 +0400 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-01-28 14:58:06 +0400 |
commit | 69f9cc8cb2227935449675ac0e7cb7ed7a532dcd (patch) | |
tree | 450c5179a726672744b1af7c79ac834c08ed7659 /strings/ctype-simple.c | |
parent | 174b05c655cc4526badcece072a0ca6f0f23a1f6 (diff) | |
download | mariadb-git-69f9cc8cb2227935449675ac0e7cb7ed7a532dcd.tar.gz |
New "fill" function in charset_info_st structure
Diffstat (limited to 'strings/ctype-simple.c')
-rw-r--r-- | strings/ctype-simple.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/strings/ctype-simple.c b/strings/ctype-simple.c index e028a027484..d7d382a61c3 100644 --- a/strings/ctype-simple.c +++ b/strings/ctype-simple.c @@ -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); +}
\ No newline at end of file |