After constant row substitution the optimizer should call the method
update_used_tables for the the where condition to update cached indicators of constant subexpressions. It should be done before further possible simplification of the where condition. This change caused simplification of the executed where conditions in many test cases.
Showing
Please register or sign in to comment