summaryrefslogtreecommitdiff
path: root/odb/relational/oracle/context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/oracle/context.cxx')
-rw-r--r--odb/relational/oracle/context.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/relational/oracle/context.cxx b/odb/relational/oracle/context.cxx
index 9093ce1..da38805 100644
--- a/odb/relational/oracle/context.cxx
+++ b/odb/relational/oracle/context.cxx
@@ -227,6 +227,9 @@ namespace relational
//
r.type = sql_type::NUMBER;
s = parse_range;
+
+ // If NUMBER has not precision/scale, then it is a floating-
+ // point number. We indicate this by having no range.
}
else if ((id == "DEC" || id == "DECIMAL" || id == "NUMERIC" ||
id == "INT" || id == "INTEGER" || id == "SMALLINT")