From 2b02d443ab344bc02dfc2891fb1a57c6520c393f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 19 Aug 2010 17:05:24 +0200 Subject: Use type names as specified in the header that we compile --- odb/mysql/common.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'odb/mysql/common.cxx') 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_) -- cgit v1.1