diff options
-rw-r--r-- | odb/relational/oracle/context.cxx | 3 | ||||
-rw-r--r-- | odb/relational/oracle/context.hxx | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/odb/relational/oracle/context.cxx b/odb/relational/oracle/context.cxx index e14ea77..2abb692 100644 --- a/odb/relational/oracle/context.cxx +++ b/odb/relational/oracle/context.cxx @@ -199,7 +199,8 @@ namespace relational bool context:: unsigned_integer (semantics::type& t) { - const string& s (t.name ()); + semantics::type* wt (wrapper (t)); + const string& s ((wt == 0 ? t : utype (*wt)).name ()); return s == "bool" || s == "unsigned char" || diff --git a/odb/relational/oracle/context.hxx b/odb/relational/oracle/context.hxx index c0a9dfe..a4a2ebc 100644 --- a/odb/relational/oracle/context.hxx +++ b/odb/relational/oracle/context.hxx @@ -103,6 +103,8 @@ namespace relational parse_sql_type (string, custom_db_types const* = 0); public: + // If necessary, unwraps. + // static bool unsigned_integer (semantics::type&); |