From d3578a4742a4d46d9ee38aa37e18f5483759278c Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Mon, 3 Oct 2005 16:57:34 +0000 Subject: Refactored code to work-around DB 4.3's DB_BUFFER_SMALL bug --- cpp/src/Freeze/ObjectStore.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'cpp/src/Freeze/ObjectStore.cpp') diff --git a/cpp/src/Freeze/ObjectStore.cpp b/cpp/src/Freeze/ObjectStore.cpp index a8cc39c9079..4723bacdf69 100644 --- a/cpp/src/Freeze/ObjectStore.cpp +++ b/cpp/src/Freeze/ObjectStore.cpp @@ -336,10 +336,6 @@ Freeze::ObjectStore::load(const Identity& ident) } break; // for(;;) } - catch(const DbMemoryException& dx) - { - handleMemoryException(dx, value, dbValue); - } catch(const DbDeadlockException&) { if(_evictor->deadlockWarning()) @@ -354,9 +350,7 @@ Freeze::ObjectStore::load(const Identity& ident) } catch(const DbException& dx) { - DatabaseException ex(__FILE__, __LINE__); - ex.message = dx.what(); - throw ex; + handleDbException(dx, value, dbValue, __FILE__, __LINE__); } } -- cgit v1.2.3