blob: 2226be8a8d10349f49d2fbac8872afd04d38bf46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// file : odb/oracle/auto-descriptor.cxx
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license : ODB NCUEL; see accompanying LICENSE file
#include <oci.h>
#include <odb/oracle/auto-descriptor.hxx>
namespace odb
{
namespace oracle
{
static const ub4 oci_descriptor_types[] =
{
OCI_DTYPE_PARAM,
OCI_DTYPE_LOB,
OCI_DTYPE_TIMESTAMP,
OCI_DTYPE_INTERVAL_YM,
OCI_DTYPE_INTERVAL_DS
};
void
oci_descriptor_free (void* d, descriptor_type type)
{
OCIDescriptorFree (d, oci_descriptor_types[type]);
}
}
}
|