The C++ Driver should define a version macro for the preprocessor

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Critical - P2
    • legacy-0.8.0
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      all
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently there is no way to determine the MongoDB C++ Client version at the preprocessing, thus there is impossible to handle in source code the API modifications

      For example in SERVER-10318 it is necessary to differentiate between 2.2.0 and 2.2.1 to select the proper getLastError(...) version at preprocessing with #if.

      Please #define macros for the MongoDB client version.

              Assignee:
              Unassigned
              Reporter:
              Balint Szente
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: