aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/connection.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-21 12:31:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-21 12:31:17 +0200
commitc0fa8c535ddb136f5488dd1028a02e8d1f1d4465 (patch)
tree0814df490a46f89487146867fcb9013ecd45282b /odb/mssql/connection.hxx
parenta8a2cd61bb9f3657c65acf3a1d9dfaaa68271f4e (diff)
Implement connection::execute()
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_;
};
}