summaryrefslogtreecommitdiff
path: root/odb/mysql/header.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mysql/header.cxx')
-rw-r--r--odb/mysql/header.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/mysql/header.cxx b/odb/mysql/header.cxx
index 3add95e..567fc46 100644
--- a/odb/mysql/header.cxx
+++ b/odb/mysql/header.cxx
@@ -169,6 +169,11 @@ namespace mysql
virtual void
traverse (type& c)
{
+ // Ignore transient bases.
+ //
+ if (!(c.count ("object") || comp_value (c)))
+ return;
+
if (first_)
{
os << ": ";