• unknown's avatar
    Fixed bug #12762: · 6a0695fe
    unknown authored
    allowed set functions aggregated in outer subqueries, allowed nested set functions.
    
    
    mysql-test/r/func_gconcat.result:
      Changed a query when fixing bug #12762.
    mysql-test/r/subselect.result:
      Added test cases for bug #12762.
      Allowed set functions aggregated in outer subqueries. Allowed nested set functions.
    mysql-test/t/func_gconcat.test:
      Changed a query when fixing bug #12762.
    mysql-test/t/subselect.test:
      Added test cases for bug #12762.
      Allowed set functions aggregated in outer subqueries. Allowed nested set functions.
    sql/item.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
      aggregated in outer subquries.
      Changed Item_field::fix_fields to calculate attributes used when checking context conditions
      for set functions.
      Allowed alliases for set functions defined in outer subqueries.
    sql/item.h:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
      aggregated in outer subquries.
    sql/item_cmpfunc.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
      aggregated in outer subquries.
    sql/item_func.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
      aggregated in outer subquries.
    sql/item_row.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
      aggregated in outer subquries.
    sql/item_strfunc.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
      aggregated in outer subquries.
    sql/item_subselect.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced next levels for subqueries and a bitmap of nesting levels showing
      in what subqueries a set function can be aggregated.
    sql/item_sum.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Added Item_sum methods to check context conditions imposed on set functions.
    sql/item_sum.h:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Added Item_sum methods to check context conditions imposed on set functions.
    sql/mysql_priv.h:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced a type of bitmaps to be used for nesting constructs.
    sql/sql_base.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced next levels for subqueries and a bitmap of nesting levels showing
      in what subqueries a set function can be aggregated.
    sql/sql_class.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced a bitmap of nesting levels showing in what subqueries a set function can be aggregated.
    sql/sql_class.h:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced a bitmap of nesting levels showing in what subqueries a set function can be aggregated.
    sql/sql_delete.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced a bitmap of nesting levels showing in what subqueries a set function can be aggregated.
    sql/sql_lex.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced next levels for subqueries and a bitmap of nesting levels showing
      in what subqueries a set function can be aggregated.
    sql/sql_lex.h:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced next levels for subqueries and a bitmap of nesting levels showing
      in what subqueries a set function can be aggregated.
    sql/sql_parse.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced next levels for subqueries.
    sql/sql_prepare.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced a bitmap of nesting levels showingin what subqueries a set function can be aggregated.
    sql/sql_select.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced next levels for subqueries and a bitmap of nesting levels showing
      in what subqueries a set function can be aggregated.
    sql/sql_update.cc:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced a bitmap of nesting levels showing in what subqueries a set function can be aggregated.
    sql/sql_yacc.yy:
      Fixed bug #12762:
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      Introduced next levels for subqueries.
    6a0695fe
item.cc 158 KB