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

Support BSONObj comparisons in idl generated comparisons

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.7
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Security 2019-01-28

      Description

      IDL generates operator== and other relational operators. BSONObj does not support operator== so IDL needs to generate relational operators with std::tie().

      Also, std::tie() may cause GCC to hit the max template instantiation recursive depth of 256 when comparing large complicated structures.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: