summaryrefslogtreecommitdiff
path: root/odb/relational/mysql/schema.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/mysql/schema.cxx')
-rw-r--r--odb/relational/mysql/schema.cxx4
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);