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
27b4c2a5
Commit
27b4c2a5
authored
Nov 18, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.0
into mysql.com:/home/jimw/my/mysql-5.0-clean
parents
39ceae40
28396247
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 @
27b4c2a5
...
@@ -204,6 +204,21 @@ create table t1 (a int);
...
@@ -204,6 +204,21 @@ create table t1 (a int);
insert into t1 values (1), (2), (3);
insert into t1 values (1), (2), (3);
create view v1 (a) as select a+1 from t1;
create view v1 (a) as select a+1 from t1;
create view v2 (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 view v1, v2;
drop table t1;
drop table t1;
create table t1 (a int);
create table t1 (a int);
...
...
mysql-test/t/view.test
View file @
27b4c2a5
...
@@ -147,11 +147,9 @@ insert into t1 values (1), (2), (3);
...
@@ -147,11 +147,9 @@ insert into t1 values (1), (2), (3);
create
view
v1
(
a
)
as
select
a
+
1
from
t1
;
create
view
v1
(
a
)
as
select
a
+
1
from
t1
;
create
view
v2
(
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
t1
natural
left
join
v1
;
select
*
from
v2
natural
left
join
t1
;
select
*
from
v2
natural
left
join
t1
;
select
*
from
v2
natural
left
join
v1
;
select
*
from
v2
natural
left
join
v1
;
--
enable_parsing
drop
view
v1
,
v2
;
drop
view
v1
,
v2
;
drop
table
t1
;
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