diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-12-03 17:21:25 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-12-05 09:45:28 +0400 |
commit | 2c7b6214e7653e5b51c691b2be34067af17956e6 (patch) | |
tree | 112a5aa59becc5d806a6b1d8db1410a9199e0337 /storage/innobase/buf | |
parent | 42a4ae54c2f05bccd2d6d752bbc23652962b6929 (diff) | |
download | mariadb-git-2c7b6214e7653e5b51c691b2be34067af17956e6.tar.gz |
A cleanup for MDEV-17088 Provide tools to encode/decode mysql-encoded file system names
- Load and convert the entire input file at once,
rather than reading string-by-string using fgets().
This change makes it possible to convert from UCS2, UTF16, UTF32 data.
- Adding the --delimiter command, to treat the specified
characters as delimiters rather than data to convert.
Useful in combination with `-f filename` or `-t filename`.
The delimiter characters are not converted,
they are copied from the input to the output as is.
- Adding diagnostics with line number and position if:
* an illegal input byte sequence was found
* a character cannot be converted to the target character set
Diffstat (limited to 'storage/innobase/buf')
0 files changed, 0 insertions, 0 deletions