[CDRIVER-452] mongoc_collection_keys_to_index_string is incorrect for non integer types Created: 31/Oct/14  Updated: 19/Oct/16  Resolved: 04/Nov/14

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.0.2
Fix Version/s: 1.1.0

Type: Bug Priority: Major - P3
Reporter: Tyler Brock Assignee: Tyler Brock
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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)



 Comments   
Comment by Tyler Brock [ 31/Oct/14 ]

https://github.com/mongodb/mongo-c-driver/pull/109

Generated at Wed Feb 07 21:09:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.