It works correctly when not using $or:
> db.character.find({'_id':
, '_priv.lvl': 1}).count()
0
But when inside a $or:
> db.character.find({'$or': [{'_id':
, '_priv.lvl': 1}]}).count()
Thu Jun 24 14:47:07 uncaught exception: count failed: {
"errmsg" : "exception: assertion db/queryutil.cpp:706",
"code" : 0,
"ok" : false
}
- depends on
-
SERVER-1211 don't use simplifiedQuery() to negate earlier index ranges in new matcher
- Closed
- is duplicated by
-
SERVER-1388 Assertion failure on $or $in empty array
- Closed