• Igor Babaev's avatar
    Fixed the bug mdev-13710. · 61074d04
    Igor Babaev authored
    This patch corrects the code of the patch for mdev-13369 that
    introduced the splitting technique when using materialized
    derived tables / views with GROUP BY. The second actual parameters
    of the call of the method JOIN::reoptimize() in the function
    JOIN::push_splitting_cond_into_derived() was calculated incorrectly.
    This could cause different failures for queries using derived tables
    or views with GROUP BY when their FROM lists contained empty or
    single-row tables.
    61074d04
derived_cond_pushdown.test 56.1 KB