summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2018-09-07 13:30:43 -0400
committerGregory Wlodarek <gregory.wlodarek@mongodb.com>2018-09-07 13:30:43 -0400
commit4c4c76ec1be5edb1d7560aecfe4ac7f5ada7ba00 (patch)
treee73893dbd30897bb74c10fb2295c0d279b6e10cc /src/mongo/dbtests
parentcbfd82be9efa5e0f6dd45d974d7fc729b989cb9c (diff)
downloadmongo-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.cpp4
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()));