From 7c2d91d07bbd32e81de6139776f0f5c5adbfb2ac Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Apr 2013 14:28:19 +0200 Subject: Get rid of ALTER TABLE callback since it is the same for all databases --- odb/relational/schema.hxx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'odb/relational/schema.hxx') diff --git a/odb/relational/schema.hxx b/odb/relational/schema.hxx index 7f1e1a0..df395b8 100644 --- a/odb/relational/schema.hxx +++ b/odb/relational/schema.hxx @@ -1202,12 +1202,6 @@ namespace relational return 0; } - virtual void - alter_header (sema_rel::qname const& table) - { - os << "ALTER TABLE " << quote_id (table); - } - void pass (unsigned short p) { @@ -1248,7 +1242,7 @@ namespace relational // statement. Quite a few databases don't support this. // pre_statement (); - alter_header (at.name ()); + os << "ALTER TABLE " << quote_id (at.name ()); bool f (true); // Shared first flag. bool* pf (&f); // (Im)perfect forwarding. @@ -1360,7 +1354,7 @@ namespace relational // statement. Quite a few databases don't support this. // pre_statement (); - alter_header (at.name ()); + os << "ALTER TABLE " << quote_id (at.name ()); bool f (true); // Shared first flag. bool* pf (&f); // (Im)perfect forwarding. -- cgit v1.1