diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-12-12 12:03:04 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-12-12 12:03:04 -0500 |
commit | 28c22de9b812daeffa630656818da6ec5411a7da (patch) | |
tree | a3b5142c2144ead6aafb62dd71baf0657296e014 /cpp/src/Freeze/MapI.h | |
parent | Fixed bug #2546 (diff) | |
download | ice-28c22de9b812daeffa630656818da6ec5411a7da.tar.bz2 ice-28c22de9b812daeffa630656818da6ec5411a7da.tar.xz ice-28c22de9b812daeffa630656818da6ec5411a7da.zip |
Fixed bug #2557 (closing database within transaction)
Diffstat (limited to 'cpp/src/Freeze/MapI.h')
-rw-r--r-- | cpp/src/Freeze/MapI.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/src/Freeze/MapI.h b/cpp/src/Freeze/MapI.h index 3623beae33d..51b5910ceba 100644 --- a/cpp/src/Freeze/MapI.h +++ b/cpp/src/Freeze/MapI.h @@ -11,11 +11,12 @@ #define FREEZE_MAP_I_H #include <Freeze/Map.h> -#include <Freeze/SharedDb.h> +#include <Freeze/ConnectionI.h> namespace Freeze { +class MapDb; class MapHelperI; @@ -146,6 +147,9 @@ public: virtual const MapIndexBasePtr& index(const std::string&) const; + + virtual void + closeDb(); void close(); @@ -168,7 +172,7 @@ private: const ConnectionIPtr _connection; mutable std::list<IteratorHelperI*> _iteratorList; - SharedDbPtr _db; + MapDb* _db; const std::string _dbName; IndexMap _indices; |