allow more indexes

do not revert to an earlier db version or you will have problems
This commit is contained in:
Dwight
2009-10-21 16:00:40 -04:00
parent b2b90b5568
commit 844d96c19f
13 changed files with 267 additions and 106 deletions

View File

@@ -749,7 +749,7 @@ namespace mongo {
in the query optimizer please fix this then!
*/
BSONObjBuilder b;
b.append("$hint", d->indexes[i].indexName());
b.append("$hint", d->idx(i).indexName());
snapshotHint = b.obj();
hint = snapshotHint.firstElement();
}