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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
9a644b94
Commit
9a644b94
authored
Nov 18, 2005
by
timour@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#2486 - natural/using joins according to SQL:2003.
Enabled view tests that didn't work before.
parent
a42b3730
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
mysql-test/r/view.result
mysql-test/r/view.result
+15
-0
mysql-test/t/view.test
mysql-test/t/view.test
+0
-2
No files found.
mysql-test/r/view.result
View file @
9a644b94
...
...
@@ -204,6 +204,21 @@ create table t1 (a int);
insert into t1 values (1), (2), (3);
create view v1 (a) as select a+1 from t1;
create view v2 (a) as select a-1 from t1;
select * from t1 natural left join v1;
a
1
2
3
select * from v2 natural left join t1;
a
0
1
2
select * from v2 natural left join v1;
a
0
1
2
drop view v1, v2;
drop table t1;
create table t1 (a int);
...
...
mysql-test/t/view.test
View file @
9a644b94
...
...
@@ -147,11 +147,9 @@ insert into t1 values (1), (2), (3);
create
view
v1
(
a
)
as
select
a
+
1
from
t1
;
create
view
v2
(
a
)
as
select
a
-
1
from
t1
;
--
disable_parsing
# WL #2486 should enable these tests
select
*
from
t1
natural
left
join
v1
;
select
*
from
v2
natural
left
join
t1
;
select
*
from
v2
natural
left
join
v1
;
--
enable_parsing
drop
view
v1
,
v2
;
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