diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-17 08:59:01 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-10-17 08:59:01 +0200 |
commit | 693b99238ad003daa9e79c09fc10bcb0289669c0 (patch) | |
tree | 70a2c9e6e17ff61a1a60f8e53dc5a0b2c01e1412 /odb/oracle/connection.hxx | |
parent | a35148a92572c6ad3a4bbd107cf3a14ac464dfac (diff) |
Allocate LOB manipulation buffer in connection instance instead of in image
Diffstat (limited to 'odb/oracle/connection.hxx')
-rw-r--r-- | odb/oracle/connection.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/odb/oracle/connection.hxx b/odb/oracle/connection.hxx index 1440c25..12add74 100644 --- a/odb/oracle/connection.hxx +++ b/odb/oracle/connection.hxx @@ -15,6 +15,7 @@ #include <odb/connection.hxx> #include <odb/details/shared-ptr.hxx> +#include <odb/details/buffer.hxx> #include <odb/oracle/version.hxx> #include <odb/oracle/forward.hxx> @@ -81,6 +82,12 @@ namespace odb return *statement_cache_; } + details::buffer& + lob_buffer () + { + return lob_buffer_; + } + private: connection (const connection&); connection& operator= (const connection&); @@ -96,6 +103,8 @@ namespace odb auto_handle<OCISvcCtx> handle_; std::auto_ptr<statement_cache_type> statement_cache_; + + details::buffer lob_buffer_; }; } } |