summaryrefslogtreecommitdiff
path: root/odb/relational/mysql/context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/mysql/context.cxx')
-rw-r--r--odb/relational/mysql/context.cxx6
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;
}