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
6201504d
Commit
6201504d
authored
Jul 02, 2005
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed difference between ps-protocol and usual execution
parent
8bc2fbb0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
mysql-test/r/view.result
mysql-test/r/view.result
+0
-2
sql/sql_view.cc
sql/sql_view.cc
+0
-2
No files found.
mysql-test/r/view.result
View file @
6201504d
...
@@ -754,8 +754,6 @@ create view v1 as select * from t1;
...
@@ -754,8 +754,6 @@ create view v1 as select * from t1;
create view v2 as select * from t2;
create view v2 as select * from t2;
insert into v1 values (1);
insert into v1 values (1);
insert into v2 values (1);
insert into v2 values (1);
Warnings:
Warning 1423 Field of view 'test.v2' underlying table doesn't have a default value
create view v3 (a,b) as select v1.col1 as a, v2.col1 as b from v1, v2 where v1.col1 = v2.col1;
create view v3 (a,b) as select v1.col1 as a, v2.col1 as b from v1, v2 where v1.col1 = v2.col1;
select * from v3;
select * from v3;
a b
a b
...
...
sql/sql_view.cc
View file @
6201504d
...
@@ -1198,8 +1198,6 @@ bool insert_view_fields(THD *thd, List<Item> *list, TABLE_LIST *view)
...
@@ -1198,8 +1198,6 @@ bool insert_view_fields(THD *thd, List<Item> *list, TABLE_LIST *view)
for
(
Field_translator
*
entry
=
trans
;
entry
<
trans_end
;
entry
++
)
for
(
Field_translator
*
entry
=
trans
;
entry
<
trans_end
;
entry
++
)
{
{
Item_field
*
fld
;
Item_field
*
fld
;
if
(
!
entry
->
item
->
fixed
&&
entry
->
item
->
fix_fields
(
thd
,
&
entry
->
item
))
DBUG_RETURN
(
TRUE
);
if
((
fld
=
entry
->
item
->
filed_for_view_update
()))
if
((
fld
=
entry
->
item
->
filed_for_view_update
()))
list
->
push_back
(
fld
);
list
->
push_back
(
fld
);
else
else
...
...
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