aboutsummaryrefslogtreecommitdiff
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.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/odb/relational/mysql/schema.cxx b/odb/relational/mysql/schema.cxx
index 8068fc4..5b34cfa 100644
--- a/odb/relational/mysql/schema.cxx
+++ b/odb/relational/mysql/schema.cxx
@@ -86,18 +86,6 @@ namespace relational
base::traverse (fk);
}
- virtual string
- name (sema_rel::foreign_key& fk)
- {
- // In MySQL, foreign key names are database-global. Make them
- // unique by prefixing the key name with table name. Note,
- // however, that they cannot be prefixed with the database name.
- //
- return quote_id (
- static_cast<sema_rel::table&> (fk.scope ()).name ().uname ()
- + "_" + fk.name ());
- }
-
virtual void
deferred ()
{