diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-15 13:17:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-15 13:17:30 +0200 |
commit | 043f4a1a1bb27baafa25c959e2284453ca32dc47 (patch) | |
tree | ebaefd68f235350b1a14690c6d89e726d4aca8da /odb/mssql/connection.cxx | |
parent | a049724c258a42af57d1ff572c3d15a3678e3875 (diff) |
Implement early connection release
Diffstat (limited to 'odb/mssql/connection.cxx')
-rw-r--r-- | odb/mssql/connection.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/mssql/connection.cxx b/odb/mssql/connection.cxx index 808d560..4c69a0c 100644 --- a/odb/mssql/connection.cxx +++ b/odb/mssql/connection.cxx @@ -103,7 +103,8 @@ namespace odb { // Deallocate prepared statements before we close the connection. // - prepared_map_.clear (); + recycle (); + clear_prepared_map (); statement_cache_.reset (); direct_stmt_.reset (); |