diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-08-23 14:56:08 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-08-23 14:56:08 -0400 |
commit | 0664ab6ebfe794441a5d2f15507f449231384c85 (patch) | |
tree | 7df11c9a0d891c62cb284b62e1416b2742788ee2 /cpp/src/Freeze/ConnectionI.h | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2426 - logger date/time fo... (diff) | |
download | ice-0664ab6ebfe794441a5d2f15507f449231384c85.tar.bz2 ice-0664ab6ebfe794441a5d2f15507f449231384c85.tar.xz ice-0664ab6ebfe794441a5d2f15507f449231384c85.zip |
Fixed bug #2233
Diffstat (limited to 'cpp/src/Freeze/ConnectionI.h')
-rw-r--r-- | cpp/src/Freeze/ConnectionI.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Freeze/ConnectionI.h b/cpp/src/Freeze/ConnectionI.h index da12f1bd4fb..a9011da45e8 100644 --- a/cpp/src/Freeze/ConnectionI.h +++ b/cpp/src/Freeze/ConnectionI.h @@ -68,7 +68,7 @@ private: Ice::CommunicatorPtr _communicator; SharedDbEnvPtr _dbEnv; std::string _envName; - TransactionIPtr _transaction; + TransactionI* _transaction; std::list<MapHelperI*> _mapList; Ice::Int _trace; Ice::Int _txTrace; @@ -78,7 +78,9 @@ private: inline void ConnectionI::clearTransaction() { + TransactionI* tx = _transaction; _transaction = 0; + tx->internalDecRef(); } inline DbTxn* |