summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-08-08 16:54:58 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-08-08 16:54:58 +0200
commit841f58736169a4011d04d70f8dfc91e415ab21d2 (patch)
tree1f5f89fc33c2f7eb05a014da37e8aadaf98e1dc5
parentcdc022264dead218193c4ce51fa29992a6ad43ae (diff)
Break out on error before the end.
-rw-r--r--searchlib/src/vespa/searchlib/docstore/filechunk.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/docstore/filechunk.cpp b/searchlib/src/vespa/searchlib/docstore/filechunk.cpp
index 0f753b4914c..f271e6f320b 100644
--- a/searchlib/src/vespa/searchlib/docstore/filechunk.cpp
+++ b/searchlib/src/vespa/searchlib/docstore/filechunk.cpp
@@ -194,6 +194,7 @@ FileChunk::updateLidMap(const LockGuard &guard, ISetLid &ds, uint64_t serialNum,
} else {
throw SummaryException("Open for truncation failed.", toTruncate, VESPA_STRLOC);
}
+ break;
}
}
if ( ! tempVector.empty()) {