summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-03 10:07:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-03 10:10:20 +0200
commit32b6f11132dec25212f6ed6df4c2aa2419ebb065 (patch)
treed0d0d88d5fac206934724b99457c4f88772fbf46
parent87a2c1d5a0b2eeed30461fe39328ccb66359cff0 (diff)
warning: nonterminal usesless in grammar
...ever since its use got removed in 17e1d9f46d7957b7ec54943122ddd5fbace19ab8 "INTEGRATION: CWS oj4" Change-Id: I6494e11bb162d4c4bb880a6c4f9ece01331975dd
-rw-r--r--connectivity/source/parse/sqlbison.y14
1 files changed, 1 insertions, 13 deletions
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index 2808cbb33795..11143de4c3db 100644
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -225,7 +225,7 @@ using namespace connectivity;
%type <pParseNode> cast_operand cast_target factor datetime_value_exp /*interval_value_exp*/ datetime_term datetime_factor
%type <pParseNode> datetime_primary datetime_value_fct time_zone time_zone_specifier /*interval_term*/ interval_qualifier
%type <pParseNode> start_field non_second_datetime_field end_field single_datetime_field extract_field datetime_field time_zone_field
-%type <pParseNode> extract_source char_length_exp octet_length_exp bit_length_exp select_sublist string_value_exp
+%type <pParseNode> char_length_exp octet_length_exp bit_length_exp select_sublist string_value_exp
%type <pParseNode> char_value_exp concatenation char_factor char_primary string_value_fct char_substring_fct fold
%type <pParseNode> form_conversion char_translation trim_fct trim_operands trim_spec bit_value_fct bit_substring_fct op_column_commalist
%type <pParseNode> /*bit_concatenation*/ bit_value_exp bit_factor bit_primary collate_clause char_value_fct unique_spec value_exp_commalist in_predicate_value unique_test update_source
@@ -1764,18 +1764,6 @@ time_zone_field:
$$->append($1);
}
;
-extract_source:
- datetime_value_exp
- {
- $$ = SQL_NEW_RULE;
- $$->append($1);
- }
-/* | interval_value_exp
- {
- $$ = SQL_NEW_RULE;
- $$->append($1);
- } */
- ;
extract_exp:
SQL_TOKEN_EXTRACT '(' extract_field SQL_TOKEN_FROM value_exp ')'
{