• unknown's avatar
    fixed using VIEW fields (BUG#4617) · 1b98202b
    unknown authored
    
    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
    1b98202b
sql_insert.cc 52.3 KB