Wrong integer type for many CRUD spec API fields

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are a number of places in the CRUD API of the driver where the integer types differ from those described in the spec. Specifically, the following getters and setters use int32 where the spec requires int64:

      • options::find::limit
      • options::find::max_scan
      • options::find::skip
      • result::bulk_write::inserted_count
      • result::bulk_write::matched_count
      • result::bulk_write::modified_count
      • result::bulk_write::deleted_count
      • result::bulk_write::upserted_count
      • result::update::matched_count
      • result::update::modified_count

      This issues should be rectified by changing the API to use std::int64_t instead of std::int32_t.

            Assignee:
            Isabella Siu (Inactive)
            Reporter:
            Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: