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
3be133eb
Commit
3be133eb
authored
Mar 21, 2010
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make test result stable (had different result orderings, on some platforms, both
of which satisfied the ORDER BY clause).
parent
6777a11b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
mysql-test/r/join_outer.result
mysql-test/r/join_outer.result
+1
-1
mysql-test/r/join_outer_jcl6.result
mysql-test/r/join_outer_jcl6.result
+1
-1
mysql-test/t/join_outer.test
mysql-test/t/join_outer.test
+1
-0
No files found.
mysql-test/r/join_outer.result
View file @
3be133eb
...
@@ -416,10 +416,10 @@ n m o n m o
...
@@ -416,10 +416,10 @@ n m o n m o
select t1.*, t2.* from t1 left join t2 on t1.n = t2.n and
select t1.*, t2.* from t1 left join t2 on t1.n = t2.n and
t1.m = t2.m where t1.n = 1 order by t1.o;
t1.m = t2.m where t1.n = 1 order by t1.o;
n m o n m o
n m o n m o
1 2 11 1 2 3
1 2 7 1 2 3
1 2 7 1 2 3
1 2 9 1 2 3
1 2 9 1 2 3
1 3 9 NULL NULL NULL
1 3 9 NULL NULL NULL
1 2 11 1 2 3
drop table t1,t2;
drop table t1,t2;
CREATE TABLE t1 (id1 INT NOT NULL PRIMARY KEY, dat1 CHAR(1), id2 INT);
CREATE TABLE t1 (id1 INT NOT NULL PRIMARY KEY, dat1 CHAR(1), id2 INT);
INSERT INTO t1 VALUES (1,'a',1);
INSERT INTO t1 VALUES (1,'a',1);
...
...
mysql-test/r/join_outer_jcl6.result
View file @
3be133eb
...
@@ -420,10 +420,10 @@ n m o n m o
...
@@ -420,10 +420,10 @@ n m o n m o
select t1.*, t2.* from t1 left join t2 on t1.n = t2.n and
select t1.*, t2.* from t1 left join t2 on t1.n = t2.n and
t1.m = t2.m where t1.n = 1 order by t1.o;
t1.m = t2.m where t1.n = 1 order by t1.o;
n m o n m o
n m o n m o
1 2 11 1 2 3
1 2 7 1 2 3
1 2 7 1 2 3
1 2 9 1 2 3
1 2 9 1 2 3
1 3 9 NULL NULL NULL
1 3 9 NULL NULL NULL
1 2 11 1 2 3
drop table t1,t2;
drop table t1,t2;
CREATE TABLE t1 (id1 INT NOT NULL PRIMARY KEY, dat1 CHAR(1), id2 INT);
CREATE TABLE t1 (id1 INT NOT NULL PRIMARY KEY, dat1 CHAR(1), id2 INT);
INSERT INTO t1 VALUES (1,'a',1);
INSERT INTO t1 VALUES (1,'a',1);
...
...
mysql-test/t/join_outer.test
View file @
3be133eb
...
@@ -308,6 +308,7 @@ insert into t1 values (1, 2, 11), (1, 2, 7), (2, 2, 8), (1,2,9),(1,3,9);
...
@@ -308,6 +308,7 @@ insert into t1 values (1, 2, 11), (1, 2, 7), (2, 2, 8), (1,2,9),(1,3,9);
insert
into
t2
values
(
1
,
2
,
3
),(
2
,
2
,
8
),
(
4
,
3
,
9
),(
3
,
2
,
10
);
insert
into
t2
values
(
1
,
2
,
3
),(
2
,
2
,
8
),
(
4
,
3
,
9
),(
3
,
2
,
10
);
select
t1
.*
,
t2
.*
from
t1
left
join
t2
on
t1
.
n
=
t2
.
n
and
select
t1
.*
,
t2
.*
from
t1
left
join
t2
on
t1
.
n
=
t2
.
n
and
t1
.
m
=
t2
.
m
where
t1
.
n
=
1
;
t1
.
m
=
t2
.
m
where
t1
.
n
=
1
;
--
sorted_result
select
t1
.*
,
t2
.*
from
t1
left
join
t2
on
t1
.
n
=
t2
.
n
and
select
t1
.*
,
t2
.*
from
t1
left
join
t2
on
t1
.
n
=
t2
.
n
and
t1
.
m
=
t2
.
m
where
t1
.
n
=
1
order
by
t1
.
o
;
t1
.
m
=
t2
.
m
where
t1
.
n
=
1
order
by
t1
.
o
;
drop
table
t1
,
t2
;
drop
table
t1
,
t2
;
...
...
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