mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
fix median
This commit is contained in:
parent
1f84d7aa82
commit
113441207c
@ -882,6 +882,8 @@ namespace mongo {
|
||||
BSONObj min = jsobj.getObjectField( "min" );
|
||||
BSONObj max = jsobj.getObjectField( "max" );
|
||||
BSONObj keyPattern = jsobj.getObjectField( "keyPattern" );
|
||||
|
||||
Client::Context ctx( ns );
|
||||
|
||||
IndexDetails *id = cmdIndexDetailsForRange( ns, errmsg, min, max, keyPattern );
|
||||
if ( id == 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user