mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
633dbc3b68
The bug was a result of the fix for bug 668644 that turned out to be not quite correct. A problem appeared with HAVING conditions containing more than one predicate. If a query with an ORDER BY clause uses such HAVING condition and the required order can be obtained with a range/index scan then the HAVING condition has to be pushed into two different formulas (items). To be able to do it we have to create a copy of the ANDOR structure of the pushed condition. |
||
---|---|---|
.. | ||
r | ||
t |