aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/oracle-types.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-17 08:59:01 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-17 08:59:01 +0200
commit693b99238ad003daa9e79c09fc10bcb0289669c0 (patch)
tree70a2c9e6e17ff61a1a60f8e53dc5a0b2c01e1412 /odb/oracle/oracle-types.hxx
parenta35148a92572c6ad3a4bbd107cf3a14ac464dfac (diff)
Allocate LOB manipulation buffer in connection instance instead of in image
Diffstat (limited to 'odb/oracle/oracle-types.hxx')
-rw-r--r--odb/oracle/oracle-types.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/oracle/oracle-types.hxx b/odb/oracle/oracle-types.hxx
index 091a6d5..1e48129 100644
--- a/odb/oracle/oracle-types.hxx
+++ b/odb/oracle/oracle-types.hxx
@@ -97,12 +97,12 @@ namespace odb
};
buffer_type type; // The type stored by buffer.
- void* buffer; // Data buffer pointer.
+ void* buffer; // Data buffer pointer. When result callbacks are in
+ // use, this is interpreted as an
+ // auto_descriptor<OCILobLocator>*.
ub2* size; // The number of bytes in buffer. When parameter
// 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
- // auto_descriptor<OCILobLocator>*.
+ // indicating the current position.
ub4 capacity; // The maximum number of bytes that can be stored in
// buffer.
sb2* indicator; // Pointer to an OCI indicator variable.