mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
more debugging
This commit is contained in:
parent
7da988488b
commit
327ccee4ed
@ -119,7 +119,11 @@ namespace mongo {
|
||||
arrElt = e;
|
||||
}
|
||||
// enforce single array path here
|
||||
uassert( 10088 , "cannot index parallel arrays", e.type() != Array || e.rawdata() == arrElt.rawdata() );
|
||||
if ( e.type() == Array && e.rawdata() != arrElt.rawdata() ){
|
||||
stringstream ss;
|
||||
ss << "cannot index parallel arrays [" << e.fieldName() << "] [" << arrElt.fieldName() << "]";
|
||||
uasserted( 10088 , ss.str() );
|
||||
}
|
||||
}
|
||||
|
||||
bool allFound = true; // have we found elements for all field names in the key spec?
|
||||
|
Loading…
Reference in New Issue
Block a user