-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
v6.0, v5.0
-
200
It looks like when the 'disableMatchExpressionOptimization' failpoint is set, QueryPlannerAccess can do an incorrect static_cast.
We should fix this to prevent it from happening in the optimization fuzzer. We also might as well use checked_cast to make diagnosis easier.