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
2b938b57
Commit
2b938b57
authored
May 02, 2007
by
mskold/marty@linux.site
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
parents
27ac6c19
f6e28f28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
mysql-test/r/ndb_insert.result
mysql-test/r/ndb_insert.result
+8
-0
mysql-test/t/ndb_insert.test
mysql-test/t/ndb_insert.test
+9
-0
No files found.
mysql-test/r/ndb_insert.result
View file @
2b938b57
...
...
@@ -649,3 +649,11 @@ pk a
6 NULL
7 4
DROP TABLE t1;
create table t1(a int primary key, b int, unique key(b)) engine=ndb;
insert ignore into t1 values (1,0), (2,0), (2,null), (3,null);
select * from t1 order by a;
a b
1 0
2 NULL
3 NULL
drop table t1;
mysql-test/t/ndb_insert.test
View file @
2b938b57
...
...
@@ -630,4 +630,13 @@ INSERT IGNORE INTO t1 VALUES (4,NULL),(5,NULL),(6,NULL),(7,4);
SELECT
*
FROM
t1
ORDER
BY
pk
;
DROP
TABLE
t1
;
#
# Bug #27980 INSERT IGNORE wrongly ignores NULLs in unique index
#
create
table
t1
(
a
int
primary
key
,
b
int
,
unique
key
(
b
))
engine
=
ndb
;
insert
ignore
into
t1
values
(
1
,
0
),
(
2
,
0
),
(
2
,
null
),
(
3
,
null
);
select
*
from
t1
order
by
a
;
drop
table
t1
;
# 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