diff options
author | David Storch <david.storch@10gen.com> | 2015-04-14 11:44:18 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2015-04-14 14:25:21 -0400 |
commit | 8bd99fa7bd4387abeb5f6ddf0907b36f67d9c702 (patch) | |
tree | ea33dba5b7dcf00252792aab0320b9f04ef83254 /src/mongo/db/exec/subplan.h | |
parent | 7c1ad90880f8612fcc310ad329790464453cfbd9 (diff) | |
download | mongo-8bd99fa7bd4387abeb5f6ddf0907b36f67d9c702.tar.gz |
SERVER-17328 add invariant that collection is non-null to planning stages (CachedPlan/Subplan/MultiPlan)
Diffstat (limited to 'src/mongo/db/exec/subplan.h')
-rw-r--r-- | src/mongo/db/exec/subplan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/exec/subplan.h b/src/mongo/db/exec/subplan.h index ec275c66a92..190da7988f9 100644 --- a/src/mongo/db/exec/subplan.h +++ b/src/mongo/db/exec/subplan.h @@ -167,6 +167,7 @@ namespace mongo { // transactional context for read locks. Not owned by us OperationContext* _txn; + // Not owned here. Must be non-null. Collection* _collection; // Not owned here. |