Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31154

Make planner options stringizer check completeness at compile time.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • Fully Compatible

    Description

      If we add a new planner option bit, we want that option added to the stringizer. By changing the stringizer from a nested if-then into a case, we can ensure at compile time that no option is missed.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: