mongoc_collection_keys_to_index_string is incorrect for non integer types

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.1.0
    • Affects Version/s: 1.0.2
    • Component/s: None
    • None
    • Environment:
      All
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Creating a "2d" index on a location field for example creates the wrong name for the index:

      "location_0" instead of "location_2d"

      This creates an issue when dropping indexes by name (currently the only supported method) and when creating multiple indexes of non simple types (they would have the same name)

            Assignee:
            Tyler Brock (Inactive)
            Reporter:
            Tyler Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: