Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1f85dac2
Commit
1f85dac2
authored
Jul 03, 2007
by
gshchepa/uchum@gleb.loc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loaddata.result, loaddata.test:
Test case update for bug #29294.
parent
dbe4fb94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
mysql-test/r/loaddata.result
mysql-test/r/loaddata.result
+1
-10
mysql-test/t/loaddata.test
mysql-test/t/loaddata.test
+1
-2
No files found.
mysql-test/r/loaddata.result
View file @
1f85dac2
...
...
@@ -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'), ('\\\rr'), ('\\\\rr');
('.r.'), ('.rr.'), ('.rrr.'), ('.rrrr.');
SELECT * FROM t1;
id c1
1 r
...
...
@@ -117,10 +116,6 @@ id c1
14 .rr.
15 .rrr.
16 .rrrr.
17
18 \rr
19 \ r
20 \\rr
SELECT * INTO OUTFILE 'MYSQL_TEST_DIR/var/tmp/t1' FIELDS ENCLOSED BY 'r' FROM t1;
r1r rrrr
r2r rrrrrr
...
...
@@ -138,10 +133,6 @@ r13r r.rr.r
r14r r.rrrr.r
r15r r.rrrrrr.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';
SELECT t1.id, c1, c2 FROM t1 LEFT JOIN t2 ON t1.id=t2.id WHERE c1 != c2;
id c1 c2
...
...
mysql-test/t/loaddata.test
View file @
1f85dac2
...
...
@@ -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'
),
(
'\\\rr'
),
(
'\\\\rr'
);
(
'.r.'
),
(
'.rr.'
),
(
'.rrr.'
),
(
'.rrrr.'
);
SELECT
*
FROM
t1
;
--
exec
rm
-
f
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment