summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/transformdb.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2007-09-06 19:03:27 +0800
committerMatthew Newhook <matthew@zeroc.com>2007-09-06 19:03:27 +0800
commit0341410e2f4a5079708e9022e99531ccf3b1708e (patch)
treebdbfcf6c8580e6723ec27d1ea2961c89d2515112 /cpp/src/FreezeScript/transformdb.cpp
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1351 - use monotonic timer... (diff)
downloadice-0341410e2f4a5079708e9022e99531ccf3b1708e.tar.bz2
ice-0341410e2f4a5079708e9022e99531ccf3b1708e.tar.xz
ice-0341410e2f4a5079708e9022e99531ccf3b1708e.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2233
Squashed commit of the following: commit 9c5b39640659633dfad70341c4e709eeda8d5f8e Author: Matthew Newhook <matthew@zeroc.com> Date: Thu Sep 6 18:13:59 2007 +0800 More fixes. commit 49cade00fee4dfc00fd688ba1ca8bcbf80376b59 Author: Matthew Newhook <matthew@zeroc.com> Date: Thu Sep 6 17:07:36 2007 +0800 removed debug. commit f33af74a2fe64ee2433228133c58afe6278fc5f3 Author: Matthew Newhook <matthew@zeroc.com> Date: Thu Sep 6 17:03:01 2007 +0800 fixes. commit a145684f88b000087a6fe5551bb9018ad03c8307 Author: Matthew Newhook <matthew@zeroc.com> Date: Thu Sep 6 15:25:37 2007 +0800 altered reference counting as suggested in the bug report.
Diffstat (limited to 'cpp/src/FreezeScript/transformdb.cpp')
-rw-r--r--cpp/src/FreezeScript/transformdb.cpp3
1 files changed, 3 insertions, 0 deletions
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);