From 693b99238ad003daa9e79c09fc10bcb0289669c0 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Mon, 17 Oct 2011 08:59:01 +0200 Subject: Allocate LOB manipulation buffer in connection instance instead of in image --- odb/oracle/connection.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'odb/oracle/connection.hxx') 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 #include +#include #include #include @@ -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 handle_; std::auto_ptr statement_cache_; + + details::buffer lob_buffer_; }; } } -- cgit v1.1