diff --git a/src/parser/parser_support.c b/src/parser/parser_support.c index 783f388f8a4..7dc4d8a59f5 100644 --- a/src/parser/parser_support.c +++ b/src/parser/parser_support.c @@ -6748,6 +6748,7 @@ pt_resolve_showstmt_args_unnamed (PARSER_CONTEXT * parser, const SHOWSTMT_NAMED_ PT_NODE * args) { int i; + char lower_table_name[DB_MAX_IDENTIFIER_LENGTH]; PT_NODE *arg, *id_string; PT_NODE *prev = NULL, *head = NULL; @@ -6776,8 +6777,10 @@ pt_resolve_showstmt_args_unnamed (PARSER_CONTEXT * parser, const SHOWSTMT_NAMED_ goto error; } + intl_identifier_lower (arg->info.name.original, lower_table_name); + /* replace identifier node with string value node */ - id_string = pt_make_string_value (parser, arg->info.name.original); + id_string = pt_make_string_value (parser, lower_table_name); if (id_string == NULL) { goto error;