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/schema.hxx | |
parent | a9da959e71ce02b7e8b0457edcae303043b2799a (diff) |
Get rid of ALTER TABLE callback since it is the same for all databases
Diffstat (limited to 'odb/relational/schema.hxx')
-rw-r--r-- | odb/relational/schema.hxx | 10 |
1 files changed, 2 insertions, 8 deletions
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. |