summaryrefslogtreecommitdiff
path: root/odb/mysql/common.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mysql/common.cxx')
-rw-r--r--odb/mysql/common.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/mysql/common.cxx b/odb/mysql/common.cxx
index 011e510..d294527 100644
--- a/odb/mysql/common.cxx
+++ b/odb/mysql/common.cxx
@@ -198,7 +198,10 @@ namespace mysql
void query_column::
pre (type& m)
{
- type_ = "mysql::value_traits< " + m.type ().fq_name () + " >::value_type";
+ type_ = "mysql::value_traits< "
+ + m.type ().fq_name (m.belongs ().hint ())
+ + " >::value_type";
+
name_ = escape (public_name (m));
if (decl_)