diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-03-10 09:51:50 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-03-10 11:30:07 -0500 |
commit | 44d8a4dd0f8f27b72e2040e2bde74c552739eb23 (patch) | |
tree | 97a8934b6dd2a39a2bccfe0b479182dab789ea3f /src/mongo/unittest/crutch.cpp | |
parent | 6efa681435ec30467ca88edc449b241bb2c326bf (diff) | |
download | mongo-44d8a4dd0f8f27b72e2040e2bde74c552739eb23.tar.gz |
SERVER-22359 Move ensureShardVersionOkOrThrow to CollectionShardingState
This ensures that we will have assertions in place for the correct locks
being held.
Diffstat (limited to 'src/mongo/unittest/crutch.cpp')
-rw-r--r-- | src/mongo/unittest/crutch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/unittest/crutch.cpp b/src/mongo/unittest/crutch.cpp index 282c03538c4..61297a0f48c 100644 --- a/src/mongo/unittest/crutch.cpp +++ b/src/mongo/unittest/crutch.cpp @@ -54,7 +54,7 @@ DBClientBase* createDirectClient(OperationContext* txn) { return NULL; } -bool haveLocalShardingInfo(Client* client, const std::string& ns) { +bool haveLocalShardingInfo(OperationContext* txn, const std::string& ns) { return false; } |