summaryrefslogtreecommitdiff
path: root/odb/relational/oracle/header.cxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-10 14:44:06 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-21 11:47:13 +0200
commit8bb4e079dbcec6249da88595cd2a5b6b39fcc460 (patch)
tree204cca3bfb947991826ae0629f13595c5fbdcfc7 /odb/relational/oracle/header.cxx
parent73caec68f1e8dc2bd2b9a045bdecdc2cc4f25348 (diff)
Aesthetic changes and comment additions
Diffstat (limited to 'odb/relational/oracle/header.cxx')
-rw-r--r--odb/relational/oracle/header.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/relational/oracle/header.cxx b/odb/relational/oracle/header.cxx
index fa0f12f..751dc66 100644
--- a/odb/relational/oracle/header.cxx
+++ b/odb/relational/oracle/header.cxx
@@ -107,6 +107,9 @@ namespace relational
virtual void
traverse_big_float (member_info& mi)
{
+ // big_float is mapped to the OCI type SQLT_NUM, which requires 21
+ // bytes of storage.
+ //
os << "char " << mi.var << "value[21];"
<< "ub2 " << mi.var << "size;"
<< "sb2 " << mi.var << "indicator;"