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

struct ByteOrderConverter<Decimal128::Value> is a noop

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Fully Compatible
    • ALL
    • Storage NYC 2018-12-31

      The code (see here) doesn't actually change t, as the results of the conversion calls are not assigned back.

      This code is used for the aggregation values, but not for serializing BSON, which independently converts the high and low uint64_t parts of the Decimal128::Value representation, so it doesn't affect stored data.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: