• unknown's avatar
    Fixed bug #22085: Crash on the execution of a prepared · e229307a
    unknown authored
    statement that uses an aggregating IN subquery with 
    HAVING clause.
    A wrong order of the call of split_sum_func2 for the HAVING
    clause of the subquery and the transformation for the 
    subquery resulted in the creation of a andor structure
    that could not be restored at an execution of the prepared
    statement.
    
    
    mysql-test/r/ps.result:
      Added a test cases for bug #22085.
    mysql-test/t/ps.test:
      Added a test cases for bug #22085.
    e229307a
sql_select.cc 297 KB