Commit 84142a3
committed
Apply hint, min, and max to explainable find operation
As part of the changes in DBCursor for JAVA-3022, hint, min, and max
are set as individual properties on FindOperation rather than via
modifiers. However, FindOperation was not correctly applying them to
a $explain query in pre-3.2 MongoDB servers. Now it is.
JAVA-30221 parent 16a1558 commit 84142a3
File tree
2 files changed
+11
-2
lines changed- driver-core/src
- main/com/mongodb/operation
- test/functional/com/mongodb/operation
2 files changed
+11
-2
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
911 | 911 | | |
912 | 912 | | |
913 | 913 | | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
914 | 917 | | |
915 | 918 | | |
916 | 919 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
639 | 642 | | |
640 | 643 | | |
641 | 644 | | |
| |||
652 | 655 | | |
653 | 656 | | |
654 | 657 | | |
655 | | - | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
656 | 662 | | |
657 | 663 | | |
658 | 664 | | |
| |||
0 commit comments