• igor@olga.mysql.com's avatar
    Fixed bug #27229: crash when a set function aggregated in outer · 8f9178e8
    igor@olga.mysql.com authored
    context was used as an argument of GROUP_CONCAT.
    Ensured correct setting of the depended_from field in references
    generated for set functions aggregated in outer selects.
    A wrong value of this field resulted in wrong maps returned by 
    used_tables() for these references.
    Made sure that a temporary table field is added for any set function
    aggregated in outer context when creation of a temporary table is 
    needed to execute the inner subquery. 
    8f9178e8
sql_select.cc 483 KB