diff options
author | Bernard Normier <bernard@zeroc.com> | 2004-04-23 20:51:54 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2004-04-23 20:51:54 +0000 |
commit | b7f19c5ee1db6c26e63a5e44765c2b9ee2dee640 (patch) | |
tree | fa40e678d97b8a9c34b0e1135f830f6560ddb0c8 /cpp/src/Freeze/IndexI.cpp | |
parent | make facet available to <record> (diff) | |
download | ice-b7f19c5ee1db6c26e63a5e44765c2b9ee2dee640.tar.bz2 ice-b7f19c5ee1db6c26e63a5e44765c2b9ee2dee640.tar.xz ice-b7f19c5ee1db6c26e63a5e44765c2b9ee2dee640.zip |
Evictor improvements and much more testing
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); |