aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/oracle-types.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-31 12:33:32 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-01 13:23:30 +0200
commit4e02fdf9dd78de05668370257c4c48bcf4572065 (patch)
tree84990438698e36702ffeae5dcb2e7a9b22677411 /odb/oracle/oracle-types.hxx
parent3a26175dac1392eb1a4a55cc5b01fcca869d91a0 (diff)
Store the OCIDefine handle for LOB result parameters and reuse it on rebinding
Diffstat (limited to 'odb/oracle/oracle-types.hxx')
-rw-r--r--odb/oracle/oracle-types.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/oracle/oracle-types.hxx b/odb/oracle/oracle-types.hxx
index 5587861..0687335 100644
--- a/odb/oracle/oracle-types.hxx
+++ b/odb/oracle/oracle-types.hxx
@@ -101,7 +101,9 @@ namespace odb
// use, this is interpreted as an lob_auto_descriptor*.
ub2* size; // The number of bytes in buffer. When parameter
// callbacks are in use, this is interpreted as a ub4*
- // indicating the current position.
+ // indicating the current position. For LOB result
+ // bindings, this is interpreted as the OCIDefine
+ // handle associated with the LOB result parameter.
ub4 capacity; // The maximum number of bytes that can be stored in
// buffer.
sb2* indicator; // Pointer to an OCI indicator variable.