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
91dd09d9
Commit
91dd09d9
authored
Mar 26, 2012
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sorted some test results that can be different on different machines
mysql-test/t/subselect_sj2.test: Added --sorted_result
parent
2f7e184d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
105 additions
and
103 deletions
+105
-103
mysql-test/r/subselect_sj2.result
mysql-test/r/subselect_sj2.result
+33
-33
mysql-test/r/subselect_sj2_jcl6.result
mysql-test/r/subselect_sj2_jcl6.result
+37
-37
mysql-test/r/subselect_sj2_mat.result
mysql-test/r/subselect_sj2_mat.result
+33
-33
mysql-test/t/subselect_sj2.test
mysql-test/t/subselect_sj2.test
+2
-0
No files found.
mysql-test/r/subselect_sj2.result
View file @
91dd09d9
...
@@ -963,25 +963,25 @@ WHERE alias2.b = alias1.a
...
@@ -963,25 +963,25 @@ WHERE alias2.b = alias1.a
AND ( alias1.b >= alias1.a OR alias2.b = 'z' )
AND ( alias1.b >= alias1.a OR alias2.b = 'z' )
);
);
a b
a b
j j
b b
v v
c c
c c
m m
m m
d d
d d
d d
d d
d d
d d
y y
e e
t t
s s
r r
b b
x x
g g
g g
j j
m m
m m
p p
p p
q q
q q
r r
s s
t t
v v
w w
w w
e e
x x
y y
# Another testcase, without the VIEW:
# Another testcase, without the VIEW:
CREATE TABLE t2 (a VARCHAR(1), b VARCHAR(1) NOT NULL, KEY(a)) ENGINE=InnoDB;
CREATE TABLE t2 (a VARCHAR(1), b VARCHAR(1) NOT NULL, KEY(a)) ENGINE=InnoDB;
INSERT INTO t2 SELECT * FROM t1;
INSERT INTO t2 SELECT * FROM t1;
...
@@ -1003,44 +1003,44 @@ WHERE
...
@@ -1003,44 +1003,44 @@ WHERE
alias2.b = alias1.a AND
alias2.b = alias1.a AND
(alias1.b >= alias1.a OR alias2.b = 'z'));
(alias1.b >= alias1.a OR alias2.b = 'z'));
a b
a b
j j
b b
j j
b b
v v
v v
c c
c c
c c
c c
m m
m m
m m
m m
d d
d d
d d
d d
d d
d d
d d
d d
d d
d d
d d
d d
y y
e e
y y
e e
t t
t t
s s
s s
r r
r r
b b
b b
x x
x x
g g
g g
g g
g g
j j
j j
m m
m m
m m
m m
p p
p p
p p
p p
q q
q q
q q
q q
r r
r r
s s
s s
t t
t t
v v
v v
w w
w w
w w
w w
e e
x x
e e
x x
y y
y y
DROP VIEW v1;
DROP VIEW v1;
DROP TABLE t1, t2;
DROP TABLE t1, t2;
# This must be the last in the file:
# This must be the last in the file:
...
...
mysql-test/r/subselect_sj2_jcl6.result
View file @
91dd09d9
...
@@ -977,25 +977,25 @@ WHERE alias2.b = alias1.a
...
@@ -977,25 +977,25 @@ WHERE alias2.b = alias1.a
AND ( alias1.b >= alias1.a OR alias2.b = 'z' )
AND ( alias1.b >= alias1.a OR alias2.b = 'z' )
);
);
a b
a b
j j
b b
v v
c c
c c
m m
m m
d d
d d
d d
d d
d d
d d
y y
e e
t t
s s
r r
b b
x x
g g
g g
j j
m m
m m
p p
p p
q q
q q
r r
s s
t t
v v
w w
w w
e e
x x
y y
# Another testcase, without the VIEW:
# Another testcase, without the VIEW:
CREATE TABLE t2 (a VARCHAR(1), b VARCHAR(1) NOT NULL, KEY(a)) ENGINE=InnoDB;
CREATE TABLE t2 (a VARCHAR(1), b VARCHAR(1) NOT NULL, KEY(a)) ENGINE=InnoDB;
INSERT INTO t2 SELECT * FROM t1;
INSERT INTO t2 SELECT * FROM t1;
...
@@ -1017,44 +1017,44 @@ WHERE
...
@@ -1017,44 +1017,44 @@ WHERE
alias2.b = alias1.a AND
alias2.b = alias1.a AND
(alias1.b >= alias1.a OR alias2.b = 'z'));
(alias1.b >= alias1.a OR alias2.b = 'z'));
a b
a b
j j
b b
v v
b b
c c
c c
c c
m m
d d
d d
t t
d d
d d
s s
d d
r r
d d
m m
d d
b b
g g
p p
q q
w w
d d
d d
e e
e e
e e
g g
g g
j j
j j
j j
v v
c c
m m
m m
d d
t t
d d
s s
r r
m m
m m
b b
m m
g g
m m
p p
p p
p p
q q
q q
d d
q q
e e
r r
y y
r r
s s
s s
t t
t t
v v
v v
w w
w w
x x
x x
y y
x x
x x
w w
y y
y y
DROP VIEW v1;
DROP VIEW v1;
DROP TABLE t1, t2;
DROP TABLE t1, t2;
# This must be the last in the file:
# This must be the last in the file:
...
...
mysql-test/r/subselect_sj2_mat.result
View file @
91dd09d9
...
@@ -965,25 +965,25 @@ WHERE alias2.b = alias1.a
...
@@ -965,25 +965,25 @@ WHERE alias2.b = alias1.a
AND ( alias1.b >= alias1.a OR alias2.b = 'z' )
AND ( alias1.b >= alias1.a OR alias2.b = 'z' )
);
);
a b
a b
j j
b b
v v
c c
c c
m m
m m
d d
d d
d d
d d
d d
d d
y y
e e
t t
s s
r r
b b
x x
g g
g g
j j
m m
m m
p p
p p
q q
q q
r r
s s
t t
v v
w w
w w
e e
x x
y y
# Another testcase, without the VIEW:
# Another testcase, without the VIEW:
CREATE TABLE t2 (a VARCHAR(1), b VARCHAR(1) NOT NULL, KEY(a)) ENGINE=InnoDB;
CREATE TABLE t2 (a VARCHAR(1), b VARCHAR(1) NOT NULL, KEY(a)) ENGINE=InnoDB;
INSERT INTO t2 SELECT * FROM t1;
INSERT INTO t2 SELECT * FROM t1;
...
@@ -1005,44 +1005,44 @@ WHERE
...
@@ -1005,44 +1005,44 @@ WHERE
alias2.b = alias1.a AND
alias2.b = alias1.a AND
(alias1.b >= alias1.a OR alias2.b = 'z'));
(alias1.b >= alias1.a OR alias2.b = 'z'));
a b
a b
j j
b b
j j
b b
v v
v v
c c
c c
c c
c c
m m
m m
m m
m m
d d
d d
d d
d d
d d
d d
d d
d d
d d
d d
d d
d d
y y
e e
y y
e e
t t
t t
s s
s s
r r
r r
b b
b b
x x
x x
g g
g g
g g
g g
j j
j j
m m
m m
m m
m m
p p
p p
p p
p p
q q
q q
q q
q q
r r
r r
s s
s s
t t
t t
v v
v v
w w
w w
w w
w w
e e
x x
e e
x x
y y
y y
DROP VIEW v1;
DROP VIEW v1;
DROP TABLE t1, t2;
DROP TABLE t1, t2;
# This must be the last in the file:
# This must be the last in the file:
...
...
mysql-test/t/subselect_sj2.test
View file @
91dd09d9
...
@@ -1145,6 +1145,7 @@ INSERT INTO t1 VALUES
...
@@ -1145,6 +1145,7 @@ INSERT INTO t1 VALUES
CREATE
ALGORITHM
=
TEMPTABLE
VIEW
v1
AS
SELECT
*
FROM
t1
;
CREATE
ALGORITHM
=
TEMPTABLE
VIEW
v1
AS
SELECT
*
FROM
t1
;
--
echo
# This query returned 6 rows instead of 19
--
echo
# This query returned 6 rows instead of 19
--
sorted_result
SELECT
*
FROM
v1
SELECT
*
FROM
v1
WHERE
(
a
,
a
)
IN
(
WHERE
(
a
,
a
)
IN
(
SELECT
alias2
.
b
,
alias2
.
a
SELECT
alias2
.
b
,
alias2
.
a
...
@@ -1164,6 +1165,7 @@ SELECT * FROM t2
...
@@ -1164,6 +1165,7 @@ SELECT * FROM t2
alias2
.
b
=
alias1
.
a
AND
alias2
.
b
=
alias1
.
a
AND
(
alias1
.
b
>=
alias1
.
a
OR
alias2
.
b
=
'z'
));
(
alias1
.
b
>=
alias1
.
a
OR
alias2
.
b
=
'z'
));
--
sorted_result
SELECT
*
FROM
t2
SELECT
*
FROM
t2
WHERE
(
a
,
a
)
IN
(
SELECT
alias2
.
b
,
alias2
.
a
FROM
t1
AS
alias1
,
t1
AS
alias2
WHERE
(
a
,
a
)
IN
(
SELECT
alias2
.
b
,
alias2
.
a
FROM
t1
AS
alias1
,
t1
AS
alias2
WHERE
WHERE
...
...
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