mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02: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:
parent
dc4de8d562
commit
1b98202be7
9 changed files with 100 additions and 16 deletions
|
|
@ -1005,6 +1005,7 @@ void st_select_lex::init_query()
|
|||
first_execution= 1;
|
||||
first_cond_optimization= 1;
|
||||
parsing_place= SELECT_LEX_NODE::NO_MATTER;
|
||||
no_wrap_view_item= 0;
|
||||
}
|
||||
|
||||
void st_select_lex::init_select()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue