diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-08 14:28:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-10 18:46:44 +0200 |
commit | 7c2d91d07bbd32e81de6139776f0f5c5adbfb2ac (patch) | |
tree | f56110280ff6de1a2ec65b185a2599479a2658e3 /odb/relational/mysql/schema.cxx | |
parent | a9da959e71ce02b7e8b0457edcae303043b2799a (diff) |
Get rid of ALTER TABLE callback since it is the same for all databases
Diffstat (limited to 'odb/relational/mysql/schema.cxx')
-rw-r--r-- | odb/relational/mysql/schema.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/relational/mysql/schema.cxx b/odb/relational/mysql/schema.cxx index d1721fa..9b04e6b 100644 --- a/odb/relational/mysql/schema.cxx +++ b/odb/relational/mysql/schema.cxx @@ -367,7 +367,7 @@ namespace relational os << "/*" << endl; in_comment = true; - alter_header (at.name ()); + os << "ALTER TABLE " << quote_id (at.name ()); instance<drop_foreign_key> dfk (*this); trav_rel::unames n (*dfk); names (at, n); @@ -422,7 +422,7 @@ namespace relational os << "/*" << endl; in_comment = true; - alter_header (at.name ()); + os << "ALTER TABLE " << quote_id (at.name ()); instance<create_foreign_key> cfk (*this); trav_rel::unames n (*cfk); names (at, n); |