fixed difference between ps-protocol and usual execution
This commit is contained in:
parent
8bc2fbb0f8
commit
6201504db9
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user