diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-10 14:39:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-21 15:40:00 +0200 |
commit | 16bab3c7af5502f6a32e896a2789cefb7ffcaa72 (patch) | |
tree | 48c85a8985c6015b4278cc6a6a2c795316cc3cdd /odb/relational/mysql/context.cxx | |
parent | 63403a8a095ceba0ad9a17e46013a46918726181 (diff) |
Separate auto increment from database type
Diffstat (limited to 'odb/relational/mysql/context.cxx')
-rw-r--r-- | odb/relational/mysql/context.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/odb/relational/mysql/context.cxx b/odb/relational/mysql/context.cxx index 90f5766..e241691 100644 --- a/odb/relational/mysql/context.cxx +++ b/odb/relational/mysql/context.cxx @@ -231,20 +231,6 @@ namespace relational // SQL type parsing. // - string context:: - database_type_impl (semantics::type& t, - string const& type, - semantics::context& ctx, - column_type_flags f) - { - string r (::context::database_type_impl (t, type, ctx, f)); - - if (!r.empty () && ctx.count ("auto") && (f & ctf_object_id_ref) == 0) - r += " AUTO_INCREMENT"; - - return r; - } - static sql_type parse_sql_type (semantics::data_member& m, std::string const& sql); |