• Sergei Golubchik's avatar
    MDEV-5113 Wrong result (extra row) and valgrind warnings in... · 441192bf
    Sergei Golubchik authored
    MDEV-5113 Wrong result (extra row) and valgrind warnings in Item_maxmin_subselect::any_value on 2nd execution of PS with SELECT subquery
    
    When setting Item_func_not_all::test_sum_item or Item_func_not_all::test_sub_item,
    reset the other one to NULL - they can never be set both. When a PS is reexecuted,
    different executions might be optimized differently and a wrong test_su*_item
    might stay set from the previous execution.
    441192bf
ps_max_subselect-5113.result 285 Bytes