mirror of
https://github.com/MariaDB/server.git
synced 2025-11-10 23:02:54 +03:00
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.
47 KiB
47 KiB