summaryrefslogtreecommitdiff
path: root/cpp/src/Freeze/IndexI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2004-04-23 20:51:54 +0000
committerBernard Normier <bernard@zeroc.com>2004-04-23 20:51:54 +0000
commitb7f19c5ee1db6c26e63a5e44765c2b9ee2dee640 (patch)
treefa40e678d97b8a9c34b0e1135f830f6560ddb0c8 /cpp/src/Freeze/IndexI.cpp
parentmake facet available to <record> (diff)
downloadice-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.cpp7
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);