mirror of
https://github.com/MariaDB/server.git
synced 2025-11-09 11:41:36 +03:00
A query with a group by and having clauses could return a wrong result set if the having condition contained a constant conjunct evaluated to FALSE. It happened because the pushdown condition for table with grouping columns lost its constant conjuncts. Pushdown conditions are always built by the function make_cond_for_table that ignores constant conjuncts. This is apparently not correct when constant false conjuncts are present.
4.6 KiB
4.6 KiB