Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-709

Remove assertion that trimFactor must be present in QE range placeholders

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.11.0, 1.10.2
    • Affects Version/s: None
    • Component/s: None
    • Not Needed

      libmongocrypt asserts that the trimFactor must be present in the encryption placeholder if the range v2 feature is enabled. Since trimFactor can be unspecified in the encrypted field config, and query analysis does not provide an explicit default in its place, libmongocrypt should not be asserting that the trimFactor must be present in both mc_FLE2RangeFindSpecEdgesInfo_parse and mc_FLE2RangeInsertSpec_parse.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: