mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed using VIEW fields (BUG#4617)
mysql-test/r/view.result: using VIEW fields several times in query resolved via temporary tables mysql-test/t/view.test: using VIEW fields several times in query resolved via temporary tables sql/item.h: fixed using of result_field by Item_ref sql/sql_base.cc: Create Item_ref as reference on VIEW fields expression reference sql/sql_insert.cc: privent creating Item_ref in insert list (where Item_fields should be) sql/sql_lex.cc: Item_ref creation control sql/sql_lex.h: Item_ref creation control sql/sql_update.cc: privent creating Item_ref in insert list (where Item_fields should be) and creation Item_fields for UPDATE list sql/table.cc: Do not create Item_ref for internal view of view processing
This commit is contained in:
@ -478,6 +478,8 @@ public:
|
||||
bool subquery_in_having;
|
||||
bool first_execution; /* first execution in SP or PS */
|
||||
bool first_cond_optimization;
|
||||
/* do not wrap view fields with Item_ref */
|
||||
bool no_wrap_view_item;
|
||||
|
||||
/*
|
||||
SELECT for SELECT command st_select_lex. Used to privent scaning
|
||||
|
Reference in New Issue
Block a user