diff options
author | luz.paz <luzpaz@users.noreply.github.com> | 2018-02-24 12:42:13 -0500 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2018-04-05 15:26:57 +0400 |
commit | 3dd01669b41bfad75f4a785d6263eb0f729b0213 (patch) | |
tree | 5305ec00d62be464b111583d32618bf4c0371000 /include/m_ctype.h | |
parent | 7c689300317793d1396b7a24f86452882d3180c2 (diff) | |
download | mariadb-git-3dd01669b41bfad75f4a785d6263eb0f729b0213.tar.gz |
Misc. typos
Found via `codespell -i 3 -w --skip="./debian/po" -I ../mariadb-server-word-whitelist.txt ./cmake/ ./debian/ ./Docs/ ./include/ ./man/ ./plugin/ ./strings/`
Diffstat (limited to 'include/m_ctype.h')
-rw-r--r-- | include/m_ctype.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_ctype.h b/include/m_ctype.h index 565eab9168f..8302c85c0e7 100644 --- a/include/m_ctype.h +++ b/include/m_ctype.h @@ -48,7 +48,7 @@ extern "C" { /* On i386 we store Unicode->CS conversion tables for some character sets using Big-endian order, - to copy two bytes at onces. + to copy two bytes at once. This gives some performance improvement. */ #ifdef __i386__ @@ -376,7 +376,7 @@ typedef size_t (*my_charset_conv_case)(CHARSET_INFO *, A structure to return the statistics of a native string copying, when no Unicode conversion is involved. - The stucture is OK to be uninitialized before calling a copying routine. + The structure is OK to be uninitialized before calling a copying routine. A copying routine must populate the structure as follows: - m_source_end_pos must be set by to a non-NULL value in the range of the input string. @@ -517,7 +517,7 @@ struct my_charset_handler_st /** Write a character to the target string, using its native code. For Unicode character sets (utf8, ucs2, utf16, utf16le, utf32, filename) - native codes are equvalent to Unicode code points. + native codes are equivalent to Unicode code points. For 8bit character sets the native code is just the byte value. For Asian characters sets: - MB1 native code is just the byte value (e.g. on the ASCII range) @@ -964,7 +964,7 @@ uint32 my_convert_using_func(char *to, size_t to_length, CHARSET_INFO *to_cs, Bad byte sequences as well as characters that cannot be encoded in the destination character set are replaced to '?'. Not more than "nchars" characters are copied. - Conversion statistics is returnd in "status" and is set as follows: + Conversion statistics is returned in "status" and is set as follows: - status->m_native_copy_status.m_source_end_pos - to the position between (src) and (src+src_length), where the function stopped reading the source string. |