MDEV-16212 Memory leak with recursive CTE that uses global ORDER BY
with recursive subquery There were two problems: 1. The code did not report that usage of global ORDER BY / LIMIT clauses was not supported yet. 2. The code just reset fake_select_lex of the the unit specifying a recursive CTE to NULL and that caused memory leaks in some cases.
Showing
Please register or sign in to comment