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
4ba74785
Commit
4ba74785
authored
Aug 12, 2019
by
Sergei Golubchik
Committed by
Marko Mäkelä
Nov 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a test case
MDEV-20330 Combination of "," (comma), cross join and left join fails to parse
parent
f809a4fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
mysql-test/r/join.result
mysql-test/r/join.result
+3
-0
mysql-test/t/join.test
mysql-test/t/join.test
+5
-0
No files found.
mysql-test/r/join.result
View file @
4ba74785
...
...
@@ -3308,3 +3308,6 @@ SELECT STRAIGHT_JOIN * FROM t1, t2 AS t2_1, t2 AS t2_2
WHERE t2_2.c = t2_1.c AND t2_2.b = t2_1.b AND ( a IS NULL OR t2_1.c = a );
a b c b c
DROP TABLE t1,t2;
select a.a from (select 1 as a) a, (select 2 as b) b cross join (select 3 as c) c left join (select 4 as d) d on 1;
a
1
mysql-test/t/join.test
View file @
4ba74785
...
...
@@ -1718,3 +1718,8 @@ SELECT STRAIGHT_JOIN * FROM t1, t2 AS t2_1, t2 AS t2_2
WHERE
t2_2
.
c
=
t2_1
.
c
AND
t2_2
.
b
=
t2_1
.
b
AND
(
a
IS
NULL
OR
t2_1
.
c
=
a
);
DROP
TABLE
t1
,
t2
;
#
# MDEV-20330 Combination of "," (comma), cross join and left join fails to parse
#
select
a
.
a
from
(
select
1
as
a
)
a
,
(
select
2
as
b
)
b
cross
join
(
select
3
as
c
)
c
left
join
(
select
4
as
d
)
d
on
1
;
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