-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.5.5
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
db.drop();
db.foo.insert({a:{$ref: "bar", $id: 1, $db:"other"}});
// any of the below fail
db.foo.distinct("a.$db");
db.foo.distinct("a.$ref");
db.foo.distinct("a.$id");
The following error code shows up:
Thu Feb 06 09:23:44.489 distinct failed: {
"errmsg" : "exception: Can't get runner for query {}",
"code" : 17216,
"ok" : 0
} at src/mongo/shell/collection.js:879