[SERVER-6795] ExpressionCompare incorrectly optimizes reverse sense expressions to a comparison with the wrong inclusivity Created: 17/Aug/12 Updated: 11/Jul/16 Resolved: 21/Aug/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 2.2.0-rc2, 2.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Aaron Staple | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
Observed behavior: An expression $gt:[ '$a', 1 ] is optimized to a proper field path. The other comparison operators are similarly affected. Test
Probably just need to fix this configuration array.
|
| Comments |
| Comment by auto [ 21/Aug/12 ] |
|
Author: {u'date': u'2012-08-18T15:07:07-07:00', u'email': u'aaron@10gen.com', u'name': u'Aaron'}Message: |
| Comment by auto [ 20/Aug/12 ] |
|
Author: {u'date': u'2012-08-18T15:07:07-07:00', u'email': u'aaron@10gen.com', u'name': u'Aaron'}Message: |