Details
Description
There are cases when MCS start processing queries with impossible conditions that must return empty set, e.g. SELECT * FROM t1 WHERE t1.c1 = 1 AND t1.c1 = 2.
The server has code sections that detects impossible conditions in both WHERE and HAVING so their logic should be reused.