diff options
Diffstat (limited to 'odb/mysql/statement.cxx')
-rw-r--r-- | odb/mysql/statement.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/mysql/statement.cxx b/odb/mysql/statement.cxx index bc29ff5..3a76c4d 100644 --- a/odb/mysql/statement.cxx +++ b/odb/mysql/statement.cxx @@ -29,6 +29,10 @@ namespace odb statement:: ~statement () { + // Let the connection handle the release of the statement (it + // may delay the actual freeing if it will mess up the currently + // active statement). + // conn_.free_stmt_handle (stmt_); } |