• unknown's avatar
    fixed problem with reference on derived table fields (BUG#1031) · 45b145a9
    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
    45b145a9
sql_derived.cc 7.45 KB