diff options
Diffstat (limited to 'cpp/src/Freeze/IndexI.cpp')
-rw-r--r-- | cpp/src/Freeze/IndexI.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/Freeze/IndexI.cpp b/cpp/src/Freeze/IndexI.cpp index 7fb7c3c728f..48ed36c874f 100644 --- a/cpp/src/Freeze/IndexI.cpp +++ b/cpp/src/Freeze/IndexI.cpp @@ -41,6 +41,9 @@ Freeze::IndexI::IndexI(Index& index) : vector<Identity> Freeze::IndexI::untypedFindFirst(const Key& bytes, Int firstN) const { + DeactivateController::Guard + deactivateGuard(_store->evictor()->deactivateController()); + Dbt dbKey; initializeInDbt(bytes, dbKey); @@ -174,7 +177,9 @@ Freeze::IndexI::untypedFind(const Key& bytes) const Int Freeze::IndexI::untypedCount(const Key& bytes) const { - + DeactivateController::Guard + deactivateGuard(_store->evictor()->deactivateController()); + Dbt dbKey; initializeInDbt(bytes, dbKey); |