diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-22 15:44:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-22 15:44:52 +0200 |
commit | c0b30bd6639ad43efbb8d7723ad0ad8c7b3991e0 (patch) | |
tree | 97f5e214dfa166cfec411183a01b45b010597492 /odb/relational/oracle/header.cxx | |
parent | fd706a1f86e48ae9b22d3bee017ff67220c0505e (diff) |
Rename range to precision in Oracle generator
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 cc436de..c302a82 100644 --- a/odb/relational/oracle/header.cxx +++ b/odb/relational/oracle/header.cxx @@ -105,8 +105,8 @@ namespace relational // size_t n (19); - if (mi.st->range) - n = mi.st->range_value / 2 + mi.st->range_value % 2; + if (mi.st->prec) + n = mi.st->prec_value / 2 + mi.st->prec_value % 2; // We require an additional byte for each of the exponent and // negative value terminator values. @@ -182,7 +182,7 @@ namespace relational virtual void traverse_string (member_info& mi) { - size_t n (mi.st->range ? mi.st->range_value : 1); + size_t n (mi.st->prec ? mi.st->prec_value : 1); // National characters can be either UTF-8 or UTF-16 encoded, both // of which have a maximum character encoding size of 4 bytes. |