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

Implement BSON formatter

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.3
    • None
    • None
    • None
    • Fully Compatible
    • Dev Tools 2019-12-16
    • 0

    Description

      The BSON formatter should do the following for integer types, unconditionally of the values:

      C++ type BSON encoding Comment
      int signed int32  
      unsigned int signed int64 resulting type always the same, avoiding negative numbers
      long signed int64 long on Windows is 32bit, always store as 64bit
      unsigned long signed int64  
      long long signed int64  
      unsigned long long signed int64 large numbers will be stored as negative

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: