1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-12 01:53:02 +03:00

Removing unused String_copier::copy_fix.

Fixing misleading comments in String_copiers::well_formed_copy().
This commit is contained in:
Alexander Barkov
2015-08-14 09:23:03 +04:00
parent 0750b2df37
commit e99bc0d1e2
2 changed files with 2 additions and 35 deletions

View File

@ -879,13 +879,7 @@ my_copy_with_hex_escaping(CHARSET_INFO *cs,
with optional character set conversion,
with optional left padding (for binary -> UCS2 conversion)
In case if there is a Unicode conversion (i.e. to_cs and from_cs are
different character sets and both are not &my_charset_bin), bad input bytes
as well as characters that cannot be encoded in to_cs are replaced to '?'.
In case of non-Unicode copying (i.e. to_cs and from_cs are same character set,
or from_cs is &my_charset_bin), the function stops on the first bad
byte sequence.
Bad input bytes are replaced to '?'.
The string that is written to "to" is always well-formed.