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

mongoc_collection_keys_to_index_string is incorrect for non integer types

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

      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@10gen.com Tyler Brock
            Reporter:
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: