diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-20 10:36:30 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-10-21 11:47:15 +0200 |
commit | 3936b78d3d661a2ccc419675bec868c980caa917 (patch) | |
tree | d628830c1a35f17581ce1f902f122a7d4c401927 /odb/relational/oracle/header.cxx | |
parent | 4b664a84adc4ffdf131c8b02b0c7c56eed281baa (diff) |
Update code generation to support use of SQLT_NUM OCI type instead of SQLT_VNU
Diffstat (limited to 'odb/relational/oracle/header.cxx')
-rw-r--r-- | odb/relational/oracle/header.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/relational/oracle/header.cxx b/odb/relational/oracle/header.cxx index 9e4bb1c..1e9e850 100644 --- a/odb/relational/oracle/header.cxx +++ b/odb/relational/oracle/header.cxx @@ -78,10 +78,10 @@ namespace relational if (mi.st->range) n = mi.st->range_value / 2 + mi.st->range_value % 2; - // We require an additional byte for each of the length, exponent, - // and negative value terminator values. + // We require an additional byte for each of the exponent and + // negative value terminator values. // - n += 3; + n += 2; os << "char " << mi.var << "value[" << n << "];" << "ub2 " << mi.var << "size;" |