From f14743ef28248ea8a8ad9bae1c7c3d6a354da257 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 14 Mar 2011 16:36:58 +0200 Subject: Add support for SQLite type system, adjust code generators --- odb/relational/mysql/context.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'odb/relational/mysql/context.cxx') 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; } -- cgit v1.1