diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-10-16 18:08:53 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-10-16 18:13:30 -0400 |
commit | 858d2ad0cd3ae6599ac362aa0beaa12adfe88032 (patch) | |
tree | 1df1dc101757dc5d1f1b767e5316d69cb11fc600 /db | |
parent | b2910bcc5e55ee7d29f83476db0fd1c577690b71 (diff) | |
download | mongo-858d2ad0cd3ae6599ac362aa0beaa12adfe88032.tar.gz |
fix segfault after modifying indexes during yield SERVER-3961 3
Diffstat (limited to 'db')
-rw-r--r-- | db/queryutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/queryutil.h b/db/queryutil.h index 104cde28e4a..5d86194fead 100644 --- a/db/queryutil.h +++ b/db/queryutil.h @@ -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; |