diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-14 16:36:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-21 15:40:00 +0200 |
commit | f14743ef28248ea8a8ad9bae1c7c3d6a354da257 (patch) | |
tree | bcfa7088ae70d7fff9656b102c7c5a9d9ad17f73 /odb/relational/mysql | |
parent | add8086259fb21f1e42aba6546c55e607d87ce93 (diff) |
Add support for SQLite type system, adjust code generators
Diffstat (limited to 'odb/relational/mysql')
-rw-r--r-- | odb/relational/mysql/context.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/relational/mysql/context.cxx b/odb/relational/mysql/context.cxx index e241691..660f616 100644 --- a/odb/relational/mysql/context.cxx +++ b/odb/relational/mysql/context.cxx @@ -289,7 +289,7 @@ namespace relational { if (tt == sql_token::t_identifier) { - string const& id (t.identifier ()); + string const& id (context::upcase (t.identifier ())); if (id == "NATIONAL" || id == "CHAR" || @@ -311,7 +311,7 @@ namespace relational if (tt == sql_token::t_identifier) { bool match (true); - string const& id (t.identifier ()); + string const& id (context::upcase (t.identifier ())); // Numeric types. // @@ -581,7 +581,7 @@ namespace relational case parse_sign: { if (tt == sql_token::t_identifier && - t.identifier () == "UNSIGNED") + context::upcase (t.identifier ()) == "UNSIGNED") { r.unsign = true; } |