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
79622efe
Commit
79622efe
authored
Jul 04, 2007
by
gshchepa/uchum@gleb.loc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loaddata.result, loaddata.test:
Updated test case for bug #29294.
parent
42699946
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
mysql-test/r/loaddata.result
mysql-test/r/loaddata.result
+2
-2
mysql-test/t/loaddata.test
mysql-test/t/loaddata.test
+7
-7
No files found.
mysql-test/r/loaddata.result
View file @
79622efe
...
...
@@ -117,7 +117,7 @@ id c1
14 .rr.
15 .rrr.
16 .rrrr.
SELECT * INTO OUTFILE 'MYSQL
_TEST_DIR/var
/tmp/t1' FIELDS ENCLOSED BY 'r' FROM t1;
SELECT * INTO OUTFILE 'MYSQL
TEST_VARDIR
/tmp/t1' FIELDS ENCLOSED BY 'r' FROM t1;
r1r rrrr
r2r rrrrrr
r3r rrrrrrrr
...
...
@@ -134,7 +134,7 @@ r13r r.rr.r
r14r r.rrrr.r
r15r r.rrrrrr.r
r16r r.rrrrrrrr.r
LOAD DATA INFILE 'MYSQL
_TEST_DIR/var
/tmp/t1' INTO TABLE t2 FIELDS ENCLOSED BY 'r';
LOAD DATA INFILE 'MYSQL
TEST_VARDIR
/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
SELECT t1.id, c1, c2 FROM t1 RIGHT JOIN t2 ON t1.id=t2.id WHERE c1 != c2;
...
...
mysql-test/t/loaddata.test
View file @
79622efe
...
...
@@ -89,17 +89,17 @@ INSERT INTO t1 (c1) VALUES
(
'.r.'
),
(
'.rr.'
),
(
'.rrr.'
),
(
'.rrrr.'
);
SELECT
*
FROM
t1
;
--
exec
rm
-
f
$MYSQL
_TEST_DIR
/
var
/
tmp
/
t1
--
replace_result
$MYSQL
_TEST_DIR
MYSQL_TEST_
DIR
eval
SELECT
*
INTO
OUTFILE
'$MYSQL
_TEST_DIR/var
/tmp/t1'
FIELDS
ENCLOSED
BY
'r'
FROM
t1
;
--
exec
cat
$MYSQL
_TEST_DIR
/
var
/
tmp
/
t1
--
exec
rm
-
f
$MYSQL
TEST_VARDIR
/
tmp
/
t1
--
replace_result
$MYSQL
TEST_VARDIR
MYSQLTEST_VAR
DIR
eval
SELECT
*
INTO
OUTFILE
'$MYSQL
TEST_VARDIR
/tmp/t1'
FIELDS
ENCLOSED
BY
'r'
FROM
t1
;
--
exec
cat
$MYSQL
TEST_VARDIR
/
tmp
/
t1
--
replace_result
$MYSQL
_TEST_DIR
MYSQL_TEST_
DIR
eval
LOAD
DATA
INFILE
'$MYSQL
_TEST_DIR/var
/tmp/t1'
INTO
TABLE
t2
FIELDS
ENCLOSED
BY
'r'
;
--
replace_result
$MYSQL
TEST_VARDIR
MYSQLTEST_VAR
DIR
eval
LOAD
DATA
INFILE
'$MYSQL
TEST_VARDIR
/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
RIGHT
JOIN
t2
ON
t1
.
id
=
t2
.
id
WHERE
c1
!=
c2
;
--
exec
rm
$MYSQL
_TEST_DIR
/
var
/
tmp
/
t1
--
exec
rm
$MYSQL
TEST_VARDIR
/
tmp
/
t1
DROP
TABLE
t1
,
t2
;
# End of 4.1 tests
...
...
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