Commit bc3e0086 authored by unknown's avatar unknown

loaddata.result, loaddata.test:

  Test case update for bug #29294.


mysql-test/t/loaddata.test:
  Test case update for bug #29294.
mysql-test/r/loaddata.result:
  Test case update for bug #29294.
parent 166d3c91
...@@ -97,8 +97,7 @@ INSERT INTO t1 (c1) VALUES ...@@ -97,8 +97,7 @@ INSERT INTO t1 (c1) VALUES
('r'), ('rr'), ('rrr'), ('rrrr'), ('r'), ('rr'), ('rrr'), ('rrrr'),
('.r'), ('.rr'), ('.rrr'), ('.rrrr'), ('.r'), ('.rr'), ('.rrr'), ('.rrrr'),
('r.'), ('rr.'), ('rrr.'), ('rrrr.'), ('r.'), ('rr.'), ('rrr.'), ('rrrr.'),
('.r.'), ('.rr.'), ('.rrr.'), ('.rrrr.'), ('.r.'), ('.rr.'), ('.rrr.'), ('.rrrr.');
('\r'), ('\\rr'), ('\\\rr'), ('\\\\rr');
SELECT * FROM t1; SELECT * FROM t1;
id c1 id c1
1 r 1 r
...@@ -117,10 +116,6 @@ id c1 ...@@ -117,10 +116,6 @@ id c1
14 .rr. 14 .rr.
15 .rrr. 15 .rrr.
16 .rrrr. 16 .rrrr.
17
18 \rr
19 \ r
20 \\rr
SELECT * INTO OUTFILE 'MYSQL_TEST_DIR/var/tmp/t1' FIELDS ENCLOSED BY 'r' FROM t1; SELECT * INTO OUTFILE 'MYSQL_TEST_DIR/var/tmp/t1' FIELDS ENCLOSED BY 'r' FROM t1;
r1r rrrr r1r rrrr
r2r rrrrrr r2r rrrrrr
...@@ -138,10 +133,6 @@ r13r r.rr.r ...@@ -138,10 +133,6 @@ r13r r.rr.r
r14r r.rrrr.r r14r r.rrrr.r
r15r r.rrrrrr.r r15r r.rrrrrr.r
r16r r.rrrrrrrr.r r16r r.rrrrrrrr.r
r17r r r
r18r r\\rrrrr
r19r r\\ rrr
r20r r\\\\rrrrr
LOAD DATA INFILE 'MYSQL_TEST_DIR/var/tmp/t1' INTO TABLE t2 FIELDS ENCLOSED BY 'r'; LOAD DATA INFILE 'MYSQL_TEST_DIR/var/tmp/t1' INTO TABLE t2 FIELDS ENCLOSED BY 'r';
SELECT t1.id, c1, c2 FROM t1 LEFT JOIN t2 ON t1.id=t2.id WHERE c1 != c2; SELECT t1.id, c1, c2 FROM t1 LEFT JOIN t2 ON t1.id=t2.id WHERE c1 != c2;
id c1 c2 id c1 c2
......
...@@ -86,8 +86,7 @@ INSERT INTO t1 (c1) VALUES ...@@ -86,8 +86,7 @@ INSERT INTO t1 (c1) VALUES
('r'), ('rr'), ('rrr'), ('rrrr'), ('r'), ('rr'), ('rrr'), ('rrrr'),
('.r'), ('.rr'), ('.rrr'), ('.rrrr'), ('.r'), ('.rr'), ('.rrr'), ('.rrrr'),
('r.'), ('rr.'), ('rrr.'), ('rrrr.'), ('r.'), ('rr.'), ('rrr.'), ('rrrr.'),
('.r.'), ('.rr.'), ('.rrr.'), ('.rrrr.'), ('.r.'), ('.rr.'), ('.rrr.'), ('.rrrr.');
('\r'), ('\\rr'), ('\\\rr'), ('\\\\rr');
SELECT * FROM t1; SELECT * FROM t1;
--exec rm -f $MYSQL_TEST_DIR/var/tmp/t1 --exec rm -f $MYSQL_TEST_DIR/var/tmp/t1
......
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