aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/auto-descriptor.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-11 09:28:48 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-14 13:12:02 +0200
commit161dc74b596ea0131798e30632acdf3ec5165f9c (patch)
tree754d65c3c713254a37ed23e1f3c9393d5f34aa9c /odb/oracle/auto-descriptor.hxx
parentd8227f949940cd83ebf7d349b1e97d116474758b (diff)
Add OCILobLocator to the set of descriptor types that auto_descriptor manages
Diffstat (limited to 'odb/oracle/auto-descriptor.hxx')
-rw-r--r--odb/oracle/auto-descriptor.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/odb/oracle/auto-descriptor.hxx b/odb/oracle/auto-descriptor.hxx
index 9e3172c..a6c82a3 100644
--- a/odb/oracle/auto-descriptor.hxx
+++ b/odb/oracle/auto-descriptor.hxx
@@ -28,6 +28,11 @@ namespace odb
struct descriptor_type_traits<OCIParam>
{ static const ub4 dtype; };
+ template <>
+ struct descriptor_type_traits<OCILobLocator>
+ { static const ub4 dtype; };
+
+
//
// descriptor_traits
//
@@ -39,7 +44,7 @@ namespace odb
struct descriptor_traits
{
static void
- release (OCIParam* d)
+ release (D* d)
{
oci_descriptor_free (d, descriptor_type_traits<D>::dtype);
}