[CDRIVER-2527] Collation not sent for delete_one or delete_many Created: 05/Mar/18 Updated: 28/Oct/23 Resolved: 08/Mar/18 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.9.3 |
| Fix Version/s: | 1.10.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
When implementing delete_on on the swift driver, kaitlin.mahar@10gen.com saw errors about collation on mongoc_collection_delete_one. After investigating it looks like collation isn't being sent for delete_one and delete_many in master. It looks like it also effects pre-IDL changes, but in a different way. Based on the server error, it looks like pre-IDL changes we're sending collation but as a command option, not an option inside the deletes array (https://docs.mongodb.com/manual/reference/command/delete/). I do not think this affects pre-1.9 since delete_one and delete_many were introduced in 1.9. |
| Comments |
| Comment by Githook User [ 06/Mar/18 ] |
|
Author: {'email': 'kevin.albertson@10gen.com', 'name': 'Kevin Albertson', 'username': 'kevinAlbs'}Message: |