diff options
author | Aaron <aaron@10gen.com> | 2010-06-03 12:24:13 -0700 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2010-06-03 12:24:13 -0700 |
commit | 5408868567f211a234871d4bf0069555c5d7cfd8 (patch) | |
tree | ea30b32222ef0cfe21432b3078769b908c714eef /db/queryutil.h | |
parent | 8d0e099546a733ae8522ef20f81365c27fd210be (diff) | |
download | mongo-5408868567f211a234871d4bf0069555c5d7cfd8.tar.gz |
SERVER-109 fix mem ownership when popping or clauses, real doc lookup when required
Diffstat (limited to 'db/queryutil.h')
-rw-r--r-- | db/queryutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/queryutil.h b/db/queryutil.h index 6e6be8a86b4..9e60ccd3149 100644 --- a/db/queryutil.h +++ b/db/queryutil.h @@ -244,6 +244,7 @@ namespace mongo { // } bool orFinished() const { return _orFound && _orSets.empty(); } // removes first or clause, and removes the field ranges it covers from all subsequent or clauses + // this could invalidate the result of the last topFrs() void popOrClause() { massert( 13274, "no or clause to pop", !orFinished() ); // const FieldRangeSet &toPop = _orSets.front(); |