aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/oracle-types.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-11 09:30:06 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-14 13:12:02 +0200
commit5f78950c5bae2bb0c6228e1596aa51edfd142547 (patch)
tree5783855e491b9bc54381da749259d6a9b2c44913 /odb/oracle/oracle-types.hxx
parent161dc74b596ea0131798e30632acdf3ec5165f9c (diff)
Use an auto_descriptor pointer to manage a bound result LOB
This simplifies resource management in the generated code.
Diffstat (limited to 'odb/oracle/oracle-types.hxx')
-rw-r--r--odb/oracle/oracle-types.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/oracle/oracle-types.hxx b/odb/oracle/oracle-types.hxx
index 1f2c8a0..33e0f33 100644
--- a/odb/oracle/oracle-types.hxx
+++ b/odb/oracle/oracle-types.hxx
@@ -10,6 +10,7 @@
#include <odb/oracle/version.hxx>
#include <odb/oracle/oracle-fwd.hxx>
+#include <odb/oracle/auto-descriptor.hxx>
namespace odb
{
@@ -92,7 +93,7 @@ namespace odb
// callbacks are in use, this is interpreted as a ub4*
// indicating the current position. When result
// callbacks are in use, this is interpreted as an
- // OCILobLocator*.
+ // auto_descriptor<OCILobLocator>*.
ub4 capacity; // The maximum number of bytes that can be stored in
// buffer.
sb2* indicator; // Pointer to an OCI indicator variable.