From 0341410e2f4a5079708e9022e99531ccf3b1708e Mon Sep 17 00:00:00 2001 From: Matthew Newhook Date: Thu, 6 Sep 2007 19:03:27 +0800 Subject: http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2233 Squashed commit of the following: commit 9c5b39640659633dfad70341c4e709eeda8d5f8e Author: Matthew Newhook Date: Thu Sep 6 18:13:59 2007 +0800 More fixes. commit 49cade00fee4dfc00fd688ba1ca8bcbf80376b59 Author: Matthew Newhook Date: Thu Sep 6 17:07:36 2007 +0800 removed debug. commit f33af74a2fe64ee2433228133c58afe6278fc5f3 Author: Matthew Newhook Date: Thu Sep 6 17:03:01 2007 +0800 fixes. commit a145684f88b000087a6fe5551bb9018ad03c8307 Author: Matthew Newhook Date: Thu Sep 6 15:25:37 2007 +0800 altered reference counting as suggested in the bug report. --- cpp/src/FreezeScript/transformdb.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpp/src/FreezeScript/transformdb.cpp') diff --git a/cpp/src/FreezeScript/transformdb.cpp b/cpp/src/FreezeScript/transformdb.cpp index 150235e3ea1..566bb4a01e2 100644 --- a/cpp/src/FreezeScript/transformdb.cpp +++ b/cpp/src/FreezeScript/transformdb.cpp @@ -837,6 +837,9 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator) status = EXIT_FAILURE; } } + // Clear the transaction before closing the database environment. + txNew = 0; + dbEnv.close(0); dbEnvNew.close(0); -- cgit v1.2.3