[CDRIVER-3084] mongoc_collection_keys_to_index_string returns wrong index string if Int64 is used for the direction Created: 15/Apr/19 Updated: 28/Oct/23 Resolved: 08/Jul/19 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.15.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Patrick Freed | Assignee: | Isabel Atkinson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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"). |
| Comments |
| Comment by Githook User [ 03/Jul/19 ] |
|
Author: {'name': 'isabelatkinson', 'username': 'isabelatkinson', 'email': 'isabel.atkinson@mongodb.com'}Message: Cdriver 3084 (#574)
Fixed mongoc_collection_keys_to_index_string() to return the correct
Fixed mongoc_collection_keys_to_index_string() to return the correct
Fixed mongoc_collection_keys_to_index_string() to return the correct
|
| Comment by Githook User [ 03/Jul/19 ] |
|
Author: {'name': 'isabelatkinson', 'username': 'isabelatkinson', 'email': 'isabel.atkinson@mongodb.com'}Message: Cdriver 3084 (#574)
Fixed mongoc_collection_keys_to_index_string() to return the correct
Fixed mongoc_collection_keys_to_index_string() to return the correct
Fixed mongoc_collection_keys_to_index_string() to return the correct
|