summaryrefslogtreecommitdiff
path: root/src/mongo/db/views
diff options
context:
space:
mode:
authorMartin Neupauer <martin.neupauer@10gen.com>2018-03-26 19:30:26 -0400
committerMartin Neupauer <martin.neupauer@mongodb.com>2018-04-05 12:52:02 -0400
commita6d486b8a6e0c81771bd771cc0237236791d635d (patch)
tree61b49fae8cf316c033b2ac707202e50b281cc72a /src/mongo/db/views
parent6fbc1bbfcd5ffcfb451c300a6ef523f19d5edb55 (diff)
downloadmongo-a6d486b8a6e0c81771bd771cc0237236791d635d.tar.gz
SERVER-33523 Add timestamp support to CollectionMetadata
Diffstat (limited to 'src/mongo/db/views')
-rw-r--r--src/mongo/db/views/view_sharding_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/views/view_sharding_check.cpp b/src/mongo/db/views/view_sharding_check.cpp
index 9f6301dda12..7c1ec2c5f86 100644
--- a/src/mongo/db/views/view_sharding_check.cpp
+++ b/src/mongo/db/views/view_sharding_check.cpp
@@ -73,7 +73,7 @@ bool ViewShardingCheck::collectionIsSharded(OperationContext* opCtx, const Names
// and must be for a sharding check.
dassert(opCtx->lockState()->isDbLockedForMode(nss.db(), MODE_IS));
AutoGetCollection autoGetCol(opCtx, nss, MODE_IS);
- return CollectionShardingState::get(opCtx, nss)->collectionIsSharded();
+ return CollectionShardingState::get(opCtx, nss)->collectionIsSharded(opCtx);
}
} // namespace mongo