aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/connection.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-12 17:24:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-12 17:24:44 +0200
commita049724c258a42af57d1ff572c3d15a3678e3875 (patch)
tree17180c89cedc2e137824f5569e0bc2078eaf10b1 /odb/mssql/connection.cxx
parentd3261c7ed4ac622c8807ba88b39bd41632577c4f (diff)
Completion of prepared query support
Diffstat (limited to 'odb/mssql/connection.cxx')
-rw-r--r--odb/mssql/connection.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/mssql/connection.cxx b/odb/mssql/connection.cxx
index 3e750d5..808d560 100644
--- a/odb/mssql/connection.cxx
+++ b/odb/mssql/connection.cxx
@@ -103,6 +103,7 @@ namespace odb
{
// Deallocate prepared statements before we close the connection.
//
+ prepared_map_.clear ();
statement_cache_.reset ();
direct_stmt_.reset ();