diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-12 17:24:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-12 17:24:44 +0200 |
commit | 9126281b53722115b2e8624632f2dd616f0c26a0 (patch) | |
tree | 2c901cd17dc2b09c7f344d1dd21ce1c83f9dab2b /odb/mysql/connection.cxx | |
parent | c0af27a770b1505ad6a1226f57f90642ce395296 (diff) |
Completion of prepared query support
Diffstat (limited to 'odb/mysql/connection.cxx')
-rw-r--r-- | odb/mysql/connection.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/mysql/connection.cxx b/odb/mysql/connection.cxx index 0e475d2..ef854c6 100644 --- a/odb/mysql/connection.cxx +++ b/odb/mysql/connection.cxx @@ -83,6 +83,10 @@ namespace odb { active_ = 0; + // Destroy prepared query statements before freeing the connections. + // + prepared_map_.clear (); + if (stmt_handles_.size () > 0) free_stmt_handles (); } |