• igor@olga.mysql.com's avatar
    Fixed bug #18925: wrong results for queries with · 66ecb7df
    igor@olga.mysql.com authored
    subqueries on information schema that use MIN/MAX aggregation.
    
    Execution of some correlated subqueries may set the value
    of null_row to 1 for tables used in the subquery.
    If the the subquery is on information schema it causes
    rejection of any row for the following executions of
    the subquery in the case when an optimization filtering
    by some condition is applied.
    
    The fix restores the value of the null_row flag for 
    each execution of a subquery on information schema.
    66ecb7df
sql_show.cc 144 KB