From 91c962e4615101e14be4c720fc386878ddb598a4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Nov 2011 15:08:56 +0200 Subject: Implement statements; add support for tracing --- odb/mssql/connection.hxx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'odb/mssql/connection.hxx') diff --git a/odb/mssql/connection.hxx b/odb/mssql/connection.hxx index 1a6cd24..c38692b 100644 --- a/odb/mssql/connection.hxx +++ b/odb/mssql/connection.hxx @@ -15,14 +15,15 @@ #include #include +#include #include +#include #include #include -//#include +#include #include #include -#include #include @@ -66,7 +67,6 @@ namespace odb // SQL statement tracing. // public: - /* typedef mssql::tracer tracer_type; void @@ -82,7 +82,6 @@ namespace odb } using odb::connection::tracer; - */ public: bool @@ -112,6 +111,12 @@ namespace odb } */ + details::buffer& + long_buffer () + { + return long_buffer_; + } + private: connection (const connection&); connection& operator= (const connection&); @@ -133,6 +138,8 @@ namespace odb auto_handle direct_stmt_; //std::auto_ptr statement_cache_; + + details::buffer long_buffer_; }; } } -- cgit v1.1