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

mongoc_collection_keys_to_index_string is incorrect for non integer types

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.1.0
    • 1.0.2
    • None
    • None
    • All

    Description

      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)

      Attachments

        Activity

          People

            tyler@10gen.com Tyler Brock
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: