summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2013-02-27 09:50:04 -0500
committerEliot Horowitz <eliot@10gen.com>2013-02-27 09:50:04 -0500
commit6a2ab90b67fb496d34a77a4315c3ebd730ed7a8b (patch)
tree2f0c7cfce830b67ebd1f53fb66a890e13352d87f
parenta5e5bcf541657ae8e6ac587a224504085688f4a1 (diff)
downloadmongo-6a2ab90b67fb496d34a77a4315c3ebd730ed7a8b.tar.gz
SERVER-8758 - remove dead code
-rw-r--r--src/mongo/db/ops/update.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/ops/update.cpp b/src/mongo/db/ops/update.cpp
index 39da56892a2..034b0849759 100644
--- a/src/mongo/db/ops/update.cpp
+++ b/src/mongo/db/ops/update.cpp
@@ -244,11 +244,6 @@ namespace mongo {
break;
nsdt = &NamespaceDetailsTransient::get(ns);
if ( mods.get() ) {
- set<string> bgKeys;
- for (int i = 0; i < d->indexBuildsInProgress; i++) {
- // we need to re-check indexes
- d->idx(d->nIndexes+i).keyPattern().getFieldNames(bgKeys);
- }
mods->setIndexedStatus( nsdt->indexKeys() );
modsIsIndexed = mods->maxNumIndexUpdated();
}