From 84cb9f184bc24ef7151ab9931b46311b03219b14 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 26 Apr 2013 15:54:19 +0200 Subject: Add support for table options in changelog, use to handle MySQL engine --- odb/relational/schema.hxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'odb/relational/schema.hxx') 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. -- cgit v1.1