Commit 6201504d authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

fixed difference between ps-protocol and usual execution

parent 8bc2fbb0
......@@ -754,8 +754,6 @@ create view v1 as select * from t1;
create view v2 as select * from t2;
insert into v1 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;
select * from v3;
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++)
{
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()))
list->push_back(fld);
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment