diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-26 15:54:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-26 15:54:19 +0200 |
commit | 84cb9f184bc24ef7151ab9931b46311b03219b14 (patch) | |
tree | db976c22d0dfacdf7ceae4e0d27f4f1615bf5cb0 /odb/relational/schema.hxx | |
parent | 436031d026eb004865faaa21af5213a6f89a6a85 (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.hxx | 7 |
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. |