From a9da959e71ce02b7e8b0457edcae303043b2799a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Apr 2013 14:22:00 +0200 Subject: Use single ALTER TABLE to add foreign keys on pass 2 --- odb/relational/oracle/schema.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/relational/oracle') diff --git a/odb/relational/oracle/schema.cxx b/odb/relational/oracle/schema.cxx index 5d0c107..3348d7d 100644 --- a/odb/relational/oracle/schema.cxx +++ b/odb/relational/oracle/schema.cxx @@ -242,11 +242,11 @@ namespace relational create_foreign_key (base const& x): base (x) {} virtual void - traverse (sema_rel::add_foreign_key& afk) + traverse_add (sema_rel::foreign_key& fk) { os << endl << " ADD CONSTRAINT "; - create (afk); + create (fk); } }; entry create_foreign_key_; -- cgit v1.1