Query stageBuilder unnecessarily slow

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 3.5.9
    • Affects Version/s: 3.5.8
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Nathan Myers (Inactive)
            Reporter:
            Nathan Myers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: