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 | fef380f6c9a5fb9904d551478fe180a9c5d24b37 (patch) | |
tree | 06cd811ee093e0e52cb5e029f0705b8e6323a334 /odb/pgsql/connection.cxx | |
parent | 9f994010f871ce0ea1aea58482ddef503cfc81c3 (diff) |
Completion of prepared query support
Diffstat (limited to 'odb/pgsql/connection.cxx')
-rw-r--r-- | odb/pgsql/connection.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/pgsql/connection.cxx b/odb/pgsql/connection.cxx index 40a65ef..7921723 100644 --- a/odb/pgsql/connection.cxx +++ b/odb/pgsql/connection.cxx @@ -70,6 +70,9 @@ namespace odb connection:: ~connection () { + // Destroy prepared query statements before freeing the connections. + // + prepared_map_.clear (); } transaction_impl* connection:: |