Permalink
Browse files

fix segfault after modifying indexes during yield SERVER-3961 3

  • Loading branch information...
1 parent b2910bc commit 858d2ad0cd3ae6599ac362aa0beaa12adfe88032 @erh erh committed Oct 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/queryutil.h
View
@@ -328,7 +328,7 @@ namespace mongo {
bool matchesElement( const BSONElement &e, int i, bool direction ) const;
bool matchesKey( const BSONObj &key ) const;
vector<FieldRange> _ranges;
- const IndexSpec &_indexSpec;
+ IndexSpec _indexSpec;
int _direction;
vector<BSONObj> _queries; // make sure mem owned
friend class FieldRangeVectorIterator;

0 comments on commit 858d2ad

Please sign in to comment.