[CDRIVER-379] warn when mixed queries are performed Created: 17/Jun/14  Updated: 18/Jun/14  Resolved: 17/Jun/14

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 0.96.2
Fix Version/s: 0.96.4

Type: Task Priority: Major - P3
Reporter: Christian Hergert Assignee: Christian Hergert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related

 Description   

There is no good messaging right now when a query is made with both a top-level query

{foo:bar}

and a mixed in {$orderby:...}. We can create a synthetic cursor failure in this case and give a good warning message.



 Comments   
Comment by Christian Hergert [ 17/Jun/14 ]

This is fixed in git master and will be part of 0.96.4.

https://github.com/mongodb/mongo-c-driver/commit/1e24ff9b8b7219f738f9c56085285bda206caffa

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