aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/connection.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mssql/connection.hxx')
-rw-r--r--odb/mssql/connection.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/mssql/connection.hxx b/odb/mssql/connection.hxx
index fea9035..1a6cd24 100644
--- a/odb/mssql/connection.hxx
+++ b/odb/mssql/connection.hxx
@@ -127,6 +127,11 @@ namespace odb
state_failed
} state_;
+ // Statement handle for direct execution. It should be after the
+ // connection handle to be destroyed in the correct order.
+ //
+ auto_handle<SQL_HANDLE_STMT> direct_stmt_;
+
//std::auto_ptr<statement_cache_type> statement_cache_;
};
}