diff options
Diffstat (limited to 'odb/pgsql/connection.cxx')
-rw-r--r-- | odb/pgsql/connection.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/pgsql/connection.cxx b/odb/pgsql/connection.cxx index 7921723..8569d39 100644 --- a/odb/pgsql/connection.cxx +++ b/odb/pgsql/connection.cxx @@ -72,7 +72,8 @@ namespace odb { // Destroy prepared query statements before freeing the connections. // - prepared_map_.clear (); + recycle (); + clear_prepared_map (); } transaction_impl* connection:: |