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

Remove useless BSONVersion enum class

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: 3.6.0
    • Component/s: Storage
    • Fully Compatible
    • Execution Team 2020-06-29, Execution Team 2020-07-13

      We currently pass a BSONVersion argument to BSONValidate, but it has not been used since bumping the featureCompatibilityVersion to 3.6 in June 2017, commit r3.5.8-145-g67500efdc1. That commit removed the use of code depending on BSONVersion::kV1_0. So, remove this enum altogether including from all callers.

            Assignee:
            fausto.leyva@mongodb.com Fausto Leyva (Inactive)
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: