-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
Perform the following foldings:
1. If (expression) ? true : false -> (expression)
2. if (expression) ? false : true -> NOT (expression)
3. if (expr1) ? true true -> true
4. if (expr1) ? false : false -> false
5. if (not (expr1)) ? expr2 : expr3 -> if (expr1) ? expr3 : expr2.