mirror of
https://github.com/MariaDB/server.git
synced 2025-11-28 17:36:30 +03:00
26 lines
828 B
Plaintext
26 lines
828 B
Plaintext
--echo #
|
|
--echo # MDEV-17088 Provide tools to encode/decode mysql-encoded file system names
|
|
--echo #
|
|
|
|
--character_set latin1
|
|
|
|
--echo # default encoding
|
|
--exec echo "t1" | $MARIADB_CONV
|
|
--exec echo "t1" | $MARIADB_CONV -f filename
|
|
--exec echo "t1" | $MARIADB_CONV -t filename
|
|
|
|
--echo # invalid option
|
|
--replace_regex /.*mariadb-conv.*: unknown/mariadb-conv: unknown/
|
|
--error 1
|
|
--exec echo "t1" | $MARIADB_CONV -f filename -r latin1 2>&1 > /dev/null
|
|
|
|
--echo # unknown "to" character set
|
|
--replace_regex /.*mariadb-conv.*: unknown/mariadb-conv: unknown/
|
|
--error 1
|
|
--exec echo "t1" | $MARIADB_CONV -f filename -t unknown-cs 2>&1 > /dev/null
|
|
|
|
--echo # unknown "from" character set
|
|
--replace_regex /.*mariadb-conv.*: unknown/mariadb-conv: unknown/
|
|
--error 1
|
|
--exec echo "t1" | $MARIADB_CONV -f unknown-cs -t latin1 2>&1 > /dev/null
|