aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/connection.cxx
diff options
context:
space:
mode:
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 ();