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
a3a52884
Commit
a3a52884
authored
Feb 14, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge neptunus.(none):/home/msvensson/mysql/bug17233/my50-bug17233
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
parents
545dbd8e
4b114615
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
mysql-test/r/ndb_load.result
mysql-test/r/ndb_load.result
+2
-2
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+0
-1
mysql-test/t/ndb_load.test
mysql-test/t/ndb_load.test
+2
-2
No files found.
mysql-test/r/ndb_load.result
View file @
a3a52884
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (word CHAR(20) NOT NULL PRIMARY KEY) ENGINE=NDB;
LOAD DATA INFILE '../
../std_data
/words.dat' INTO TABLE t1 ;
LOAD DATA INFILE '../
std_data_ln
/words.dat' INTO TABLE t1 ;
ERROR 23000: Can't write; duplicate key in table 't1'
DROP TABLE t1;
CREATE TABLE t1 (word CHAR(20) NOT NULL) ENGINE=NDB;
LOAD DATA INFILE '../
../std_data
/words.dat' INTO TABLE t1 ;
LOAD DATA INFILE '../
std_data_ln
/words.dat' INTO TABLE t1 ;
SELECT * FROM t1 ORDER BY word;
word
Aarhus
...
...
mysql-test/t/disabled.def
View file @
a3a52884
...
...
@@ -12,4 +12,3 @@
sp-goto : GOTO is currently is disabled - will be fixed in the future
subselect : Bug#15706
ndb_load : Bug #17233
mysql-test/t/ndb_load.test
View file @
a3a52884
...
...
@@ -12,12 +12,12 @@ DROP TABLE IF EXISTS t1;
# should give duplicate key
CREATE
TABLE
t1
(
word
CHAR
(
20
)
NOT
NULL
PRIMARY
KEY
)
ENGINE
=
NDB
;
--
error
1022
LOAD
DATA
INFILE
'../
../std_data
/words.dat'
INTO
TABLE
t1
;
LOAD
DATA
INFILE
'../
std_data_ln
/words.dat'
INTO
TABLE
t1
;
DROP
TABLE
t1
;
# now without a primary key we should be ok
CREATE
TABLE
t1
(
word
CHAR
(
20
)
NOT
NULL
)
ENGINE
=
NDB
;
LOAD
DATA
INFILE
'../
../std_data
/words.dat'
INTO
TABLE
t1
;
LOAD
DATA
INFILE
'../
std_data_ln
/words.dat'
INTO
TABLE
t1
;
SELECT
*
FROM
t1
ORDER
BY
word
;
DROP
TABLE
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