Commit e78fae21 authored by He Zhenxing's avatar He Zhenxing

postfix result file for outfile_loaddata after merge

parent 631139c1
...@@ -92,14 +92,14 @@ HEX(c1) ...@@ -92,14 +92,14 @@ HEX(c1)
C3 C3
SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/bug32533.txt' FIELDS ENCLOSED BY 0xC3 FROM t1; SELECT * INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/bug32533.txt' FIELDS ENCLOSED BY 0xC3 FROM t1;
Warnings: Warnings:
Warning 1639 Non-ASCII separator arguments are not fully supported Warning 1638 Non-ASCII separator arguments are not fully supported
TRUNCATE t1; TRUNCATE t1;
SELECT HEX(LOAD_FILE('MYSQLTEST_VARDIR/tmp/bug32533.txt')); SELECT HEX(LOAD_FILE('MYSQLTEST_VARDIR/tmp/bug32533.txt'));
HEX(LOAD_FILE('MYSQLTEST_VARDIR/tmp/bug32533.txt')) HEX(LOAD_FILE('MYSQLTEST_VARDIR/tmp/bug32533.txt'))
C35CC3C30A C35CC3C30A
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/bug32533.txt' INTO TABLE t1 FIELDS ENCLOSED BY 0xC3; LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/bug32533.txt' INTO TABLE t1 FIELDS ENCLOSED BY 0xC3;
Warnings: Warnings:
Warning 1639 Non-ASCII separator arguments are not fully supported Warning 1638 Non-ASCII separator arguments are not fully supported
SELECT HEX(c1) FROM t1; SELECT HEX(c1) FROM t1;
HEX(c1) HEX(c1)
C3 C3
...@@ -124,17 +124,17 @@ ERROR 42000: Field separator argument is not what is expected; check the manual ...@@ -124,17 +124,17 @@ ERROR 42000: Field separator argument is not what is expected; check the manual
# LOAD DATA rises error or has unpredictable result -- to be fixed later # LOAD DATA rises error or has unpredictable result -- to be fixed later
SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' FIELDS ENCLOSED BY 'ъ'; SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' FIELDS ENCLOSED BY 'ъ';
Warnings: Warnings:
Warning 1639 Non-ASCII separator arguments are not fully supported Warning 1638 Non-ASCII separator arguments are not fully supported
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary FIELDS ENCLOSED BY 'ъ'; LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary FIELDS ENCLOSED BY 'ъ';
ERROR 42000: Field separator argument is not what is expected; check the manual ERROR 42000: Field separator argument is not what is expected; check the manual
SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' FIELDS ESCAPED BY 'ъ'; SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' FIELDS ESCAPED BY 'ъ';
Warnings: Warnings:
Warning 1639 Non-ASCII separator arguments are not fully supported Warning 1638 Non-ASCII separator arguments are not fully supported
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary FIELDS ESCAPED BY 'ъ'; LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary FIELDS ESCAPED BY 'ъ';
ERROR 42000: Field separator argument is not what is expected; check the manual ERROR 42000: Field separator argument is not what is expected; check the manual
SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' FIELDS TERMINATED BY 'ъ'; SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' FIELDS TERMINATED BY 'ъ';
Warnings: Warnings:
Warning 1639 Non-ASCII separator arguments are not fully supported Warning 1638 Non-ASCII separator arguments are not fully supported
################################################## ##################################################
1ъABC-ъDEF- 1ъABC-ъDEF-
2ъ\Nъ\N 2ъ\Nъ\N
...@@ -142,7 +142,7 @@ Warning 1639 Non-ASCII separator arguments are not fully supported ...@@ -142,7 +142,7 @@ Warning 1639 Non-ASCII separator arguments are not fully supported
TRUNCATE t2; TRUNCATE t2;
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary FIELDS TERMINATED BY 'ъ'; LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary FIELDS TERMINATED BY 'ъ';
Warnings: Warnings:
Warning 1639 Non-ASCII separator arguments are not fully supported Warning 1638 Non-ASCII separator arguments are not fully supported
Warning 1265 Data truncated for column 'a' at row 1 Warning 1265 Data truncated for column 'a' at row 1
Warning 1261 Row 1 doesn't contain data for all columns Warning 1261 Row 1 doesn't contain data for all columns
Warning 1261 Row 1 doesn't contain data for all columns Warning 1261 Row 1 doesn't contain data for all columns
...@@ -156,7 +156,7 @@ a b c ...@@ -156,7 +156,7 @@ a b c
2 NULL NULL 2 NULL NULL
SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' LINES STARTING BY 'ъ'; SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' LINES STARTING BY 'ъ';
Warnings: Warnings:
Warning 1639 Non-ASCII separator arguments are not fully supported Warning 1638 Non-ASCII separator arguments are not fully supported
################################################## ##################################################
ъ1 ABC- DEF- ъ1 ABC- DEF-
ъ2 \N \N ъ2 \N \N
...@@ -164,20 +164,20 @@ Warning 1639 Non-ASCII separator arguments are not fully supported ...@@ -164,20 +164,20 @@ Warning 1639 Non-ASCII separator arguments are not fully supported
TRUNCATE t2; TRUNCATE t2;
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary LINES STARTING BY 'ъ'; LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary LINES STARTING BY 'ъ';
Warnings: Warnings:
Warning 1639 Non-ASCII separator arguments are not fully supported Warning 1638 Non-ASCII separator arguments are not fully supported
SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c; SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c;
a b c a b c
1 ABC-АБВ DEF-ÂÃÄ 1 ABC-АБВ DEF-ÂÃÄ
2 NULL NULL 2 NULL NULL
SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' LINES TERMINATED BY 'ъ'; SELECT * FROM t1 INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' LINES TERMINATED BY 'ъ';
Warnings: Warnings:
Warning 1639 Non-ASCII separator arguments are not fully supported Warning 1638 Non-ASCII separator arguments are not fully supported
################################################## ##################################################
1 ABC- DEF-ъ2 \N \Nъ################################################## 1 ABC- DEF-ъ2 \N \Nъ##################################################
TRUNCATE t2; TRUNCATE t2;
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary LINES TERMINATED BY 'ъ'; LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary LINES TERMINATED BY 'ъ';
Warnings: Warnings:
Warning 1639 Non-ASCII separator arguments are not fully supported Warning 1638 Non-ASCII separator arguments are not fully supported
SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c; SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c;
a b c a b c
1 ABC-АБВ DEF-ÂÃÄ 1 ABC-АБВ DEF-ÂÃÄ
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment