summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/idhack.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-03-10 09:51:50 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-03-10 11:30:07 -0500
commit44d8a4dd0f8f27b72e2040e2bde74c552739eb23 (patch)
tree97a8934b6dd2a39a2bccfe0b479182dab789ea3f /src/mongo/db/exec/idhack.cpp
parent6efa681435ec30467ca88edc449b241bb2c326bf (diff)
downloadmongo-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/db/exec/idhack.cpp')
-rw-r--r--src/mongo/db/exec/idhack.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/exec/idhack.cpp b/src/mongo/db/exec/idhack.cpp
index affe2e4dc50..759ca91153f 100644
--- a/src/mongo/db/exec/idhack.cpp
+++ b/src/mongo/db/exec/idhack.cpp
@@ -38,7 +38,6 @@
#include "mongo/db/exec/working_set_computed_data.h"
#include "mongo/db/index/btree_access_method.h"
#include "mongo/db/storage/record_fetcher.h"
-#include "mongo/s/d_state.h"
#include "mongo/stdx/memory.h"
namespace mongo {