summaryrefslogtreecommitdiff
path: root/odb/mysql/source.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-19 17:05:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-19 17:05:24 +0200
commit2b02d443ab344bc02dfc2891fb1a57c6520c393f (patch)
tree3bff59757b0ef986d70c67def93d689fb18a5b66 /odb/mysql/source.cxx
parent33cd64535d2307a2e7884ee0796e1aae42937aaf (diff)
Use type names as specified in the header that we compile
Diffstat (limited to 'odb/mysql/source.cxx')
-rw-r--r--odb/mysql/source.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/mysql/source.cxx b/odb/mysql/source.cxx
index 9cf69b1..1a9e6c8 100644
--- a/odb/mysql/source.cxx
+++ b/odb/mysql/source.cxx
@@ -353,7 +353,7 @@ namespace mysql
virtual void
pre (type& m)
{
- type = m.type ().fq_name ();
+ type = m.type ().fq_name (m.belongs ().hint ());
if (id_)
member = "id";
@@ -516,7 +516,7 @@ namespace mysql
virtual void
pre (type& m)
{
- type = m.type ().fq_name ();
+ type = m.type ().fq_name (m.belongs ().hint ());
os << "// " << m.name () << endl
<< "//" << endl;