aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/connection.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-17 16:12:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-17 16:12:11 +0200
commitc853481c254bcafeeca394faa9f4bb5205d4daa0 (patch)
tree8638ee412df9dc4fdf0e666fa7e29aa9a32e4612 /odb/mssql/connection.hxx
parent0b2a7666616754dcc9f19d20461896150d813075 (diff)
Free direct statement before disconnecting
Diffstat (limited to 'odb/mssql/connection.hxx')
-rw-r--r--odb/mssql/connection.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/odb/mssql/connection.hxx b/odb/mssql/connection.hxx
index 73c00fd..f10aaae 100644
--- a/odb/mssql/connection.hxx
+++ b/odb/mssql/connection.hxx
@@ -128,8 +128,7 @@ namespace odb
state_failed
} state_;
- // Statement handle for direct execution. It should be after the
- // connection handle to be destroyed in the correct order.
+ // Statement handle for direct execution.
//
auto_handle<SQL_HANDLE_STMT> direct_stmt_;