diff options
Diffstat (limited to 'src/mongo/db/exec/requires_collection_stage.cpp')
-rw-r--r-- | src/mongo/db/exec/requires_collection_stage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/exec/requires_collection_stage.cpp b/src/mongo/db/exec/requires_collection_stage.cpp index 3d77b61870a..060722dbe14 100644 --- a/src/mongo/db/exec/requires_collection_stage.cpp +++ b/src/mongo/db/exec/requires_collection_stage.cpp @@ -61,8 +61,7 @@ void RequiresCollectionStageBase<CollectionT>::doRestoreState() { // a rename has happened during yield. uassert(ErrorCodes::QueryPlanKilled, str::stream() << "collection renamed from '" << _nss << "' to '" << *newNss - << "'. UUID " - << _collectionUUID, + << "'. UUID " << _collectionUUID, *newNss == _nss); // At this point we know that the collection name has not changed, and therefore we have |