From e426ca9205320a5db42bf7ee99f9a497cd3f812c Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Mon, 18 May 2015 13:57:32 -0700 Subject: [PATCH] Fix bug in edge index. --- lib/Basics/AssocMulti.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Basics/AssocMulti.h b/lib/Basics/AssocMulti.h index 81b88e0a20..58bee65496 100644 --- a/lib/Basics/AssocMulti.h +++ b/lib/Basics/AssocMulti.h @@ -441,6 +441,7 @@ namespace triagens { #ifdef TRI_CHECK_MULTI_POINTER_HASH check(true, true); #endif + return; } // Now find the first slot with an entry with the same key @@ -903,10 +904,10 @@ namespace triagens { bool check (bool checkCount, bool checkPositions) const { std::cout << "Performing AssocMulti check " << checkCount << checkPositions << std::endl; + bool ok = true; for (auto& b : _buckets) { IndexType i, ii, j, k; - bool ok = true; IndexType count = 0; for (i = 0;i < b._nrAlloc;i++) {