Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3084

mongoc_collection_keys_to_index_string returns wrong index string if Int64 is used for the direction

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 1.15.0
    • None
    • libmongoc

    Description

      e.g. for an index { "a": NumberLong(1) } , the string "a_" is returned. According to the docs, an int64 for the direction is acceptable, so this function should generate the correct index string in this case (i.e. "a_1").

      Attachments

        Activity

          People

            isabel.atkinson@mongodb.com Isabel Atkinson
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: