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 | c3a2b62f33e1f3fe19700257efdba7123b272cc4 (patch) | |
tree | 281f2275a2a7202c24bf114532adcd5752eaf19d /odb/mysql/connection.cxx | |
parent | 9126281b53722115b2e8624632f2dd616f0c26a0 (diff) |
Implement early connection release
Diffstat (limited to 'odb/mysql/connection.cxx')
-rw-r--r-- | odb/mysql/connection.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/mysql/connection.cxx b/odb/mysql/connection.cxx index ef854c6..17dd939 100644 --- a/odb/mysql/connection.cxx +++ b/odb/mysql/connection.cxx @@ -85,7 +85,8 @@ namespace odb // Destroy prepared query statements before freeing the connections. // - prepared_map_.clear (); + recycle (); + clear_prepared_map (); if (stmt_handles_.size () > 0) free_stmt_handles (); |