-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.5.5
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
When using db.foo.distinct("a.0"), server 2.4 returned results where server 2.5.5 returns an empty set.
db.drop(); db.foo.insert({a:[0,1]}); db.foo.insert({a:[1,2]}); db.foo.distinct("a.0"); // should return [0, 1], but returns empty with server 2.5.5