• unknown's avatar
    fixed problem with reference on derived table fields (BUG#1031) · a1cb03c3
    unknown authored
    
    mysql-test/r/derived.result:
      test of BUG#1031
    mysql-test/t/derived.test:
      test of BUG#1031
    sql/item_sum.cc:
      'alias' parameter added to create_tmp_table
    sql/sql_derived.cc:
      Derived table should be named (to pass it name to Field and then to Item_field)
    sql/sql_select.cc:
      'alias' parameter added to create_tmp_table
    sql/sql_select.h:
      'alias' parameter added to create_tmp_table
    sql/sql_union.cc:
      'alias' parameter added to create_tmp_table
    sql/sql_update.cc:
      'alias' parameter added to create_tmp_table
    a1cb03c3
item_sum.cc 41.1 KB