diff options
Diffstat (limited to 'odb/mysql')
-rw-r--r-- | odb/mysql/context.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/odb/mysql/context.cxx b/odb/mysql/context.cxx index 6a218af..b7d6540 100644 --- a/odb/mysql/context.cxx +++ b/odb/mysql/context.cxx @@ -287,7 +287,7 @@ namespace mysql { if (tt == sql_token::t_identifier) { - string const& id (t.identifier ()); + string const& id (context::upcase (t.identifier ())); if (id == "NATIONAL" || id == "CHAR" || @@ -309,7 +309,7 @@ namespace mysql if (tt == sql_token::t_identifier) { bool match (true); - string const& id (t.identifier ()); + string const& id (context::upcase (t.identifier ())); // Numeric types. // @@ -576,7 +576,8 @@ namespace mysql } case parse_sign: { - if (tt == sql_token::t_identifier && t.identifier () == "UNSIGNED") + if (tt == sql_token::t_identifier && + context::upcase (t.identifier ()) == "UNSIGNED") { r.unsign = true; } |