diff options
Diffstat (limited to 'odb/mssql/connection.cxx')
-rw-r--r-- | odb/mssql/connection.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/odb/mssql/connection.cxx b/odb/mssql/connection.cxx index 1609b80..03b8deb 100644 --- a/odb/mssql/connection.cxx +++ b/odb/mssql/connection.cxx @@ -3,16 +3,14 @@ // copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC // license : ODB NCUEL; see accompanying LICENSE file -//@@ disabled functionality - #include <string> #include <odb/mssql/mssql.hxx> #include <odb/mssql/database.hxx> #include <odb/mssql/connection.hxx> #include <odb/mssql/transaction.hxx> -//#include <odb/mssql/statement.hxx> -//#include <odb/mssql/statement-cache.hxx> +#include <odb/mssql/statement.hxx> +#include <odb/mssql/statement-cache.hxx> #include <odb/mssql/error.hxx> using namespace std; @@ -26,7 +24,7 @@ namespace odb : odb::connection (db), db_ (db), state_ (state_disconnected), - // statement_cache_ (new statement_cache_type (*this)) + statement_cache_ (new statement_cache_type (*this)), long_buffer_ (0) { SQLRETURN r; @@ -96,7 +94,7 @@ namespace odb db_ (db), handle_ (handle), state_ (state_connected), - // statement_cache_ (new statement_cache_type (*this)) + statement_cache_ (new statement_cache_type (*this)), long_buffer_ (0) { } @@ -106,7 +104,7 @@ namespace odb { // Deallocate prepared statements before we close the connection. // - //statement_cache_.reset (); + statement_cache_.reset (); if (state_ != state_disconnected) SQLDisconnect (handle_); // Ignore any errors. |