aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/sqlite/common.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/sqlite/common.hxx')
-rw-r--r--odb/relational/sqlite/common.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/odb/relational/sqlite/common.hxx b/odb/relational/sqlite/common.hxx
index e3f81a5..e8663af 100644
--- a/odb/relational/sqlite/common.hxx
+++ b/odb/relational/sqlite/common.hxx
@@ -40,10 +40,13 @@ namespace relational
string
fq_type (bool unwrap = true) const
{
- // At the moment a wrapped type can only be a composite value.
- //
if (wrapper != 0 && unwrap)
- return t.fq_name ();
+ {
+ // Use the hint from the wrapper.
+ //
+ return t.fq_name (
+ wrapper->get<semantics::names*> ("wrapper-hint"));
+ }
// Use the original type from 'm' instead of 't' since the hint
// may be invalid for a different type. Plus, if a type is