summaryrefslogtreecommitdiff
path: root/odb/relational/schema.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-04-26 15:54:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-26 15:54:19 +0200
commit84cb9f184bc24ef7151ab9931b46311b03219b14 (patch)
treedb976c22d0dfacdf7ceae4e0d27f4f1615bf5cb0 /odb/relational/schema.hxx
parent436031d026eb004865faaa21af5213a6f89a6a85 (diff)
Add support for table options in changelog, use to handle MySQL engine
Diffstat (limited to 'odb/relational/schema.hxx')
-rw-r--r--odb/relational/schema.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/odb/relational/schema.hxx b/odb/relational/schema.hxx
index 4e0febf..95dd68c 100644
--- a/odb/relational/schema.hxx
+++ b/odb/relational/schema.hxx
@@ -931,9 +931,12 @@ namespace relational
}
virtual void
- create_post ()
+ create_post (sema_rel::table& t)
{
os << ")" << endl;
+
+ if (!t.options ().empty ())
+ os << " " << t.options () << endl;
}
virtual void
@@ -958,7 +961,7 @@ namespace relational
names (t, n);
- create_post ();
+ create_post (t);
post_statement ();
// Create indexes.