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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
57f92977
Commit
57f92977
authored
Mar 28, 2008
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge amd64.(none):/src/mysql-5.0-bugteam
into amd64.(none):/src/bug26243/my50-bug26243
parents
2b99ccb6
fdf7e6f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
mysql-test/r/loaddata.result
mysql-test/r/loaddata.result
+4
-4
mysql-test/std_data/bug35469.dat
mysql-test/std_data/bug35469.dat
+0
-0
mysql-test/t/loaddata.test
mysql-test/t/loaddata.test
+4
-4
No files found.
mysql-test/r/loaddata.result
View file @
57f92977
...
...
@@ -268,7 +268,7 @@ CREATE VIEW v1 AS SELECT * FROM t1;
CREATE VIEW v2 AS SELECT 1 + 2 AS c0, c1, c2 FROM t1;
CREATE VIEW v3 AS SELECT 1 AS d1, 2 AS d2;
LOAD DATA INFILE '../std_data_ln/bug35
649.data
' INTO TABLE v1
LOAD DATA INFILE '../std_data_ln/bug35
469.dat
' INTO TABLE v1
FIELDS ESCAPED BY '\\'
TERMINATED BY ','
ENCLOSED BY '"'
...
...
@@ -288,7 +288,7 @@ c1 c2
DELETE FROM t1;
LOAD DATA INFILE '../std_data_ln/bug35
649.data
' INTO TABLE v2
LOAD DATA INFILE '../std_data_ln/bug35
469.dat
' INTO TABLE v2
FIELDS ESCAPED BY '\\'
TERMINATED BY ','
ENCLOSED BY '"'
...
...
@@ -308,14 +308,14 @@ c0 c1 c2
DELETE FROM t1;
LOAD DATA INFILE '../std_data_ln/bug35
649.data
' INTO TABLE v2
LOAD DATA INFILE '../std_data_ln/bug35
469.dat
' INTO TABLE v2
FIELDS ESCAPED BY '\\'
TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n' (c0, c2);
ERROR HY000: Invalid column reference (v2.c0) in LOAD DATA
LOAD DATA INFILE '../std_data_ln/bug35
649.data
' INTO TABLE v3
LOAD DATA INFILE '../std_data_ln/bug35
469.dat
' INTO TABLE v3
FIELDS ESCAPED BY '\\'
TERMINATED BY ','
ENCLOSED BY '"'
...
...
mysql-test/std_data/bug35
649.data
→
mysql-test/std_data/bug35
469.dat
View file @
57f92977
File moved
mysql-test/t/loaddata.test
View file @
57f92977
...
...
@@ -260,7 +260,7 @@ CREATE VIEW v2 AS SELECT 1 + 2 AS c0, c1, c2 FROM t1;
CREATE
VIEW
v3
AS
SELECT
1
AS
d1
,
2
AS
d2
;
--
echo
LOAD
DATA
INFILE
'../std_data_ln/bug35
649.data
'
INTO
TABLE
v1
LOAD
DATA
INFILE
'../std_data_ln/bug35
469.dat
'
INTO
TABLE
v1
FIELDS
ESCAPED
BY
'\\'
TERMINATED
BY
','
ENCLOSED
BY
'"'
...
...
@@ -276,7 +276,7 @@ SELECT * FROM v1;
DELETE
FROM
t1
;
--
echo
LOAD
DATA
INFILE
'../std_data_ln/bug35
649.data
'
INTO
TABLE
v2
LOAD
DATA
INFILE
'../std_data_ln/bug35
469.dat
'
INTO
TABLE
v2
FIELDS
ESCAPED
BY
'\\'
TERMINATED
BY
','
ENCLOSED
BY
'"'
...
...
@@ -293,7 +293,7 @@ DELETE FROM t1;
--
echo
--
error
ER_LOAD_DATA_INVALID_COLUMN
LOAD
DATA
INFILE
'../std_data_ln/bug35
649.data
'
INTO
TABLE
v2
LOAD
DATA
INFILE
'../std_data_ln/bug35
469.dat
'
INTO
TABLE
v2
FIELDS
ESCAPED
BY
'\\'
TERMINATED
BY
','
ENCLOSED
BY
'"'
...
...
@@ -301,7 +301,7 @@ LOAD DATA INFILE '../std_data_ln/bug35649.data' INTO TABLE v2
--
echo
--
error
ER_NON_UPDATABLE_TABLE
LOAD
DATA
INFILE
'../std_data_ln/bug35
649.data
'
INTO
TABLE
v3
LOAD
DATA
INFILE
'../std_data_ln/bug35
469.dat
'
INTO
TABLE
v3
FIELDS
ESCAPED
BY
'\\'
TERMINATED
BY
','
ENCLOSED
BY
'"'
...
...
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