summaryrefslogtreecommitdiff
path: root/odb/oracle/connection.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-15 13:17:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-15 13:17:31 +0200
commit93cb54135cd7b214ded868d0277f2f4d5eca0e2c (patch)
treeffa41df34bace2691d383e013fdb3d3b0a9c1ccf /odb/oracle/connection.cxx
parent0051807a6c28dd0ebb425d05511fbf9127483ee1 (diff)
Implement early connection release
Diffstat (limited to 'odb/oracle/connection.cxx')
-rw-r--r--odb/oracle/connection.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/oracle/connection.cxx b/odb/oracle/connection.cxx
index 1194de9..98bc218 100644
--- a/odb/oracle/connection.cxx
+++ b/odb/oracle/connection.cxx
@@ -139,7 +139,8 @@ namespace odb
{
// Deallocate prepared statements before we close the connection.
//
- prepared_map_.clear ();
+ recycle ();
+ clear_prepared_map ();
statement_cache_.reset ();
}