diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-09-26 12:39:07 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-09-26 12:39:07 +0000 |
commit | e2ef041325c41f50869d620ff1545e913c0be471 (patch) | |
tree | ef273442aef3772ecf0c757c2010d0f75058ea6d /cpp/src/Freeze/IndexI.cpp | |
parent | Bug 490 - Need to check for DB_BUFFER_SMALL to resize keys (diff) | |
download | ice-e2ef041325c41f50869d620ff1545e913c0be471.tar.bz2 ice-e2ef041325c41f50869d620ff1545e913c0be471.tar.xz ice-e2ef041325c41f50869d620ff1545e913c0be471.zip |
Backed out previous change, failing on Windows.
Diffstat (limited to 'cpp/src/Freeze/IndexI.cpp')
-rw-r--r-- | cpp/src/Freeze/IndexI.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/cpp/src/Freeze/IndexI.cpp b/cpp/src/Freeze/IndexI.cpp index e8d0cbc86e8..1b6ee29b84e 100644 --- a/cpp/src/Freeze/IndexI.cpp +++ b/cpp/src/Freeze/IndexI.cpp @@ -100,16 +100,9 @@ Freeze::IndexI::untypedFindFirst(const Key& bytes, Int firstN) const } break; // for(;;) } - catch(const DbException& dx) + catch(const DbMemoryException& dx) { - if(dx.get_errno() == DB_BUFFER_SMALL) - { - handleMemoryException(dx, pkey, pdbKey); - } - else - { - throw dx; - } + handleMemoryException(dx, pkey, pdbKey); } } } |