• igor@olga.mysql.com's avatar
    Fixed bug #27154: memory corruption when using row equalities in where · 0c5ba624
    igor@olga.mysql.com authored
    conditions.
    When allocating memory for KEY_FIELD/SARGABLE_PARAM structures the
    function update_ref_and_keys did not take into account the fact that
    a single row equality could be replaced by several simple equalities.
    Fixed by adjusting the counter cond_count accordingly for each subquery
    when performing substitution of a row equality for simple equalities. 
     
    0c5ba624
row.test 5.37 KB