blob: cae8268d523614abaf2a2f839efca955b16fd5f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#
# MDEV-17088 Provide tools to encode/decode mysql-encoded file system names
#
SET NAMES utf8;
@6e2c@8a66@8cc7@6599
測試資料庫
@6e2c@8a66@8cc7@6599
測試資料
測試資料庫
@6e2c@8a66@8cc7@6599@5eab
# bulk convert with pipe
CREATE TABLE t1 (id SERIAL, a VARCHAR(64) CHARACTER SET utf8);
INSERT INTO t1 (a) VALUES ('測試資料'), ('測試資料2');
a
@6e2c@8a66@8cc7@6599
@6e2c@8a66@8cc7@65992
BINARY CONVERT(a USING filename)
@6e2c@8a66@8cc7@6599
@6e2c@8a66@8cc7@65992
測試資料
測試資料2
test/測試資料.frm
test/測試資料2.frm
test/測試資料.frm
test/測試資料2.frm
DROP TABLE t1;
# bulk convert with file
# --- Start of mariadb-conv for mysql-conv-test-utf8.txt ---
@6e2c@8a66@8cc7@6599
@6e2c@8a66@8cc7@65992
@6e2c@8a66@8cc7@65993
# --- End of mariadb-conv for mysql-conv-test-utf8.txt ---
# --- Start of mariadb-conv for mysql-conv-test-utf8.txt and mysql-conv-test-utf8-2.txt ---
@6e2c@8a66@8cc7@6599
@6e2c@8a66@8cc7@65992
@6e2c@8a66@8cc7@65993
@6e2c@8a66@8cc7@6599
@6e2c@8a66@8cc7@65992
@6e2c@8a66@8cc7@65993
# --- Start of mariadb-conv for mysql-conv-test-utf8.txt and mysql-conv-test-utf8-2.txt ---
|