diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2018-09-07 13:30:43 -0400 |
---|---|---|
committer | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2018-09-07 13:30:43 -0400 |
commit | 4c4c76ec1be5edb1d7560aecfe4ac7f5ada7ba00 (patch) | |
tree | e73893dbd30897bb74c10fb2295c0d279b6e10cc /src/mongo/dbtests | |
parent | cbfd82be9efa5e0f6dd45d974d7fc729b989cb9c (diff) | |
download | mongo-4c4c76ec1be5edb1d7560aecfe4ac7f5ada7ba00.tar.gz |
SERVER-36472 Convert OptionalCollectionUUID in OpObserver::onCreateIndex to CollectionUUID
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r-- | src/mongo/dbtests/storage_timestamp_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/storage_timestamp_tests.cpp b/src/mongo/dbtests/storage_timestamp_tests.cpp index bcf0bb1d39e..553f693f7c6 100644 --- a/src/mongo/dbtests/storage_timestamp_tests.cpp +++ b/src/mongo/dbtests/storage_timestamp_tests.cpp @@ -246,7 +246,7 @@ public: // The op observer is not called from the index builder, but rather the // `createIndexes` command. _opCtx->getServiceContext()->getOpObserver()->onCreateIndex( - _opCtx, coll->ns(), coll->uuid(), indexInfoObj, false); + _opCtx, coll->ns(), *(coll->uuid()), indexInfoObj, false); wuow.commit(); } } @@ -1856,7 +1856,7 @@ public: // The op observer is not called from the index builder, but rather the // `createIndexes` command. _opCtx->getServiceContext()->getOpObserver()->onCreateIndex( - _opCtx, nss, autoColl.getCollection()->uuid(), indexInfoObj, false); + _opCtx, nss, *(autoColl.getCollection()->uuid()), indexInfoObj, false); } else { ASSERT_OK( _opCtx->recoveryUnit()->setTimestamp(_clock->getClusterTime().asTimestamp())); |