diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-19 17:05:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-19 17:05:24 +0200 |
commit | 2b02d443ab344bc02dfc2891fb1a57c6520c393f (patch) | |
tree | 3bff59757b0ef986d70c67def93d689fb18a5b66 /odb/mysql/common.cxx | |
parent | 33cd64535d2307a2e7884ee0796e1aae42937aaf (diff) |
Use type names as specified in the header that we compile
Diffstat (limited to 'odb/mysql/common.cxx')
-rw-r--r-- | odb/mysql/common.cxx | 5 |
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_) |