• Igor Babaev's avatar
    MDEV-17201 dropped anchor rows with non-null recursion query · 6858d534
    Igor Babaev authored
    The function st_select_lex_unit::exec_recursive() missed resetting of
    select_limit_cnt and offset_limit_cnt before execution of union parts.
    As a result recursive CTEs specified by UNIONs whose SELECTs contained
    LIMIT/OFFSET could return wrong sets of records.
    6858d534
cte_recursive.test 54 KB