Details
-
Improvement
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
3.5.8
-
None
-
None
-
Fully Compatible
Description
In db/query/stage_builder.cpp, buildStages() is a series of if/else-if calls to the same virtual function, comparing against enumeration values, and repeated until a match. Of course this can be done better and more safely using a switch statement.