diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-15 13:17:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-15 13:17:31 +0200 |
commit | 93cb54135cd7b214ded868d0277f2f4d5eca0e2c (patch) | |
tree | ffa41df34bace2691d383e013fdb3d3b0a9c1ccf /odb/oracle/connection.cxx | |
parent | 0051807a6c28dd0ebb425d05511fbf9127483ee1 (diff) |
Implement early connection release
Diffstat (limited to 'odb/oracle/connection.cxx')
-rw-r--r-- | odb/oracle/connection.cxx | 3 |
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 (); } |