summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/write_ops.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-07-26 15:17:46 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-07-26 15:23:08 -0400
commit39b009d422cb0a71001bdc0bd87e5cfd0e6c5b3f (patch)
tree991cb013a71d5de522ec51bb41afec840b994481 /src/mongo/db/ops/write_ops.h
parent044bf07073d0d45cbb9b61b843fa33074599971f (diff)
downloadmongo-39b009d422cb0a71001bdc0bd87e5cfd0e6c5b3f.tar.gz
Revert "SERVER-28752 Get rid of BatchedInsertRequest::getIndexTargetingNS"
This reverts commit 86defa9d193f34275af2c4f3c783dffb046182ff. This reverts commit 1f097a38ad68e1b362cde71b70fabfb63ea4aae7.
Diffstat (limited to 'src/mongo/db/ops/write_ops.h')
-rw-r--r--src/mongo/db/ops/write_ops.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/ops/write_ops.h b/src/mongo/db/ops/write_ops.h
index ec055786029..5463bb9a0e2 100644
--- a/src/mongo/db/ops/write_ops.h
+++ b/src/mongo/db/ops/write_ops.h
@@ -71,12 +71,6 @@ int32_t getStmtIdForWriteAt(const T& op, size_t writePos) {
return getStmtIdForWriteAt(op.getWriteCommandBase(), writePos);
}
-/**
- * Must only be called if the insert is for the "system.indexes" namespace. Returns the actual
- * namespace for which the index is being created.
- */
-NamespaceString extractIndexedNamespace(const Insert& insertOp);
-
// TODO: Delete this getter once IDL supports defaults for object and array fields
template <class T>
const BSONObj& collationOf(const T& opEntry) {