diff options
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 (); |