diff options
Diffstat (limited to 'odb/relational/oracle/context.cxx')
-rw-r--r-- | odb/relational/oracle/context.cxx | 3 |
1 files changed, 2 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" || |