diff options
author | Eliot Horowitz <eliot@10gen.com> | 2013-02-27 09:50:04 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2013-02-27 09:50:04 -0500 |
commit | 6a2ab90b67fb496d34a77a4315c3ebd730ed7a8b (patch) | |
tree | 2f0c7cfce830b67ebd1f53fb66a890e13352d87f | |
parent | a5e5bcf541657ae8e6ac587a224504085688f4a1 (diff) | |
download | mongo-6a2ab90b67fb496d34a77a4315c3ebd730ed7a8b.tar.gz |
SERVER-8758 - remove dead code
-rw-r--r-- | src/mongo/db/ops/update.cpp | 5 |
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(); } |