diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-07-11 18:37:42 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-07-15 13:30:02 -0400 |
commit | 70a3df4dd5d102b2370a871c9182be281100a487 (patch) | |
tree | 4101519c5505800900caf30b1730c5fc6cdaeb5a /src/mongo/db/exec | |
parent | bb4ba528dd4254c33ac77026f94bc287b590ff3c (diff) | |
download | mongo-70a3df4dd5d102b2370a871c9182be281100a487.tar.gz |
SERVER-42194 Make Collection always hold a UUID (rather than optional UUID)
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r-- | src/mongo/db/exec/requires_collection_stage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/requires_collection_stage.h b/src/mongo/db/exec/requires_collection_stage.h index 677336e1fb2..896d9eb5181 100644 --- a/src/mongo/db/exec/requires_collection_stage.h +++ b/src/mongo/db/exec/requires_collection_stage.h @@ -58,7 +58,7 @@ public: RequiresCollectionStageBase(const char* stageType, OperationContext* opCtx, CollectionT coll) : PlanStage(stageType, opCtx), _collection(coll), - _collectionUUID(_collection->uuid().get()), + _collectionUUID(_collection->uuid()), _databaseEpoch(getDatabaseEpoch(_collection)), _nss(_collection->ns()) { invariant(_collection); |