summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-03 10:05:37 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-03 10:05:37 +0200
commitd8bf4491b15dab47223200b4c04ac4b3f17aebd2 (patch)
tree3dad0488d3901e613a4045d52b9c7d0398bb7b07
parentda3ce6d4ce921ef34c0af1ff7d7a3b51ea9f5b3a (diff)
warning: nonterminal usesless in grammar
Change-Id: I97f3fb5cf62a68460157b2302a84d56a1417d376
-rw-r--r--connectivity/source/parse/sqlbison.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index f65601a78f6e..2808cbb33795 100644
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -219,7 +219,7 @@ using namespace connectivity;
%type <pParseNode> position_exp extract_exp length_exp general_value_spec
%type <pParseNode> general_set_fct set_fct_type query_exp non_join_query_exp joined_table
%type <pParseNode> non_join_query_term non_join_query_primary simple_table
-%type <pParseNode> table_value_const_list row_value_constructor row_value_const_list row_value_constructor_elem
+%type <pParseNode> table_value_const_list row_value_constructor /*row_value_const_list*/ row_value_constructor_elem
%type <pParseNode> qualified_join value_exp query_term join_type outer_join_type join_condition boolean_term
%type <pParseNode> boolean_factor boolean_primary named_columns_join join_spec
%type <pParseNode> cast_operand cast_target factor datetime_value_exp /*interval_value_exp*/ datetime_term datetime_factor
@@ -747,6 +747,7 @@ table_value_const_list:
{$1->append($3);
$$ = $1;}
;
+/*
row_value_const_list:
row_value_constructor_elem
{$$ = SQL_NEW_COMMALISTRULE;
@@ -755,6 +756,7 @@ row_value_const_list:
{$1->append($3);
$$ = $1;}
;
+*/
row_value_constructor:
row_value_constructor_elem
/* | '(' row_value_const_list ')'