diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-11 08:14:06 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-10-14 13:11:41 +0200 |
commit | 9cb039e2574f30ab64a5b934ba368eee6193964a (patch) | |
tree | 1028df22782d78213a6c4d2da50608b3292d6975 /odb/oracle/connection.hxx | |
parent | 92ab3ae987687382fc54a084669a343806d1250d (diff) |
Enable statement cache in connection
Diffstat (limited to 'odb/oracle/connection.hxx')
-rw-r--r-- | odb/oracle/connection.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/odb/oracle/connection.hxx b/odb/oracle/connection.hxx index 8d0e447..1440c25 100644 --- a/odb/oracle/connection.hxx +++ b/odb/oracle/connection.hxx @@ -75,11 +75,11 @@ namespace odb return error_; } - // statement_cache_type& - // statement_cache () - // { - // return *statement_cache_; - // } + statement_cache_type& + statement_cache () + { + return *statement_cache_; + } private: connection (const connection&); @@ -95,7 +95,7 @@ namespace odb auto_handle<OCISvcCtx> handle_; - // std::auto_ptr<statement_cache_type> statement_cache_; + std::auto_ptr<statement_cache_type> statement_cache_; }; } } |