diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-24 12:35:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-24 12:35:08 +0200 |
commit | 8f59ca1a8d7093655f8f7d61f101abc6df3839d5 (patch) | |
tree | 2555c001df7b81560bdc3c579f8c84260c168203 /odb/relational/header.cxx | |
parent | 9cb4ce54829fb2f091e8690b591440b4369a1387 (diff) |
Generalization work for MySQL and SQLite support
Diffstat (limited to 'odb/relational/header.cxx')
-rw-r--r-- | odb/relational/header.cxx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/odb/relational/header.cxx b/odb/relational/header.cxx index f8529f4..c70ef27 100644 --- a/odb/relational/header.cxx +++ b/odb/relational/header.cxx @@ -17,7 +17,6 @@ namespace relational { context ctx; ostream& os (ctx.os); - options const& ops (ctx.options); traversal::unit unit; traversal::defines unit_defines; @@ -32,16 +31,8 @@ namespace relational ns >> ns_defines >> ns; ns_defines >> c; - os << "#include <odb/mysql/version.hxx>" << endl - << "#include <odb/mysql/forward.hxx>" << endl - << "#include <odb/mysql/mysql-types.hxx>" << endl; - - if (ops.generate_query ()) - os << "#include <odb/mysql/query.hxx>" << endl; - - os << endl - << "#include <odb/details/buffer.hxx>" << endl - << endl; + instance<include> i; + i->generate (); os << "namespace odb" << "{"; |