@@ -3550,6 +3550,7 @@ statement_information_item:
35503550 if ($$ == NULL)
35513551 MYSQL_YYABORT;
35523552 }
3553+ ;
35533554
35543555simple_target_specification:
35553556 ident
@@ -3607,6 +3608,7 @@ condition_information_item:
36073608 if ($$ == NULL)
36083609 MYSQL_YYABORT;
36093610 }
3611+ ;
36103612
36113613condition_information_item_name:
36123614 CLASS_ORIGIN_SYM
@@ -6561,15 +6563,18 @@ field_length:
65616563 '(' LONG_NUM ')' { $$= $2.str; }
65626564 | '(' ULONGLONG_NUM ')' { $$= $2.str; }
65636565 | '(' DECIMAL_NUM ')' { $$= $2.str; }
6564- | '(' NUM ')' { $$= $2.str; };
6566+ | '(' NUM ')' { $$= $2.str; }
6567+ ;
65656568
65666569opt_field_length:
65676570 /* empty */ { $$= (char*) 0; /* use default length */ }
65686571 | field_length { $$= $1; }
6572+ ;
65696573
65706574opt_field_length_default_1:
65716575 /* empty */ { $$= (char*) "1"; }
65726576 | field_length { $$= $1; }
6577+ ;
65736578
65746579opt_precision:
65756580 /* empty */ { $$.set(0, 0); }
@@ -6989,12 +6994,14 @@ fulltext_key_opts:
69896994opt_USING_key_algorithm:
69906995 /* Empty*/ { $$= HA_KEY_ALG_UNDEF; }
69916996 | USING btree_or_rtree { $$= $2; }
6997+ ;
69926998
69936999/* TYPE is a valid identifier, so it's handled differently than USING */
69947000opt_key_algorithm_clause:
69957001 /* Empty*/ { $$= HA_KEY_ALG_UNDEF; }
69967002 | USING btree_or_rtree { $$= $2; }
69977003 | TYPE_SYM btree_or_rtree { $$= $2; }
7004+ ;
69987005
69997006key_using_alg:
70007007 USING btree_or_rtree
@@ -7106,7 +7113,8 @@ string_list:
71067113 text_string
71077114 { Lex->last_field->interval_list.push_back($1, thd->mem_root); }
71087115 | string_list ',' text_string
7109- { Lex->last_field->interval_list.push_back($3, thd->mem_root); };
7116+ { Lex->last_field->interval_list.push_back($3, thd->mem_root); }
7117+ ;
71107118
71117119/*
71127120** Alter table
@@ -7755,6 +7763,7 @@ opt_index_lock_algorithm:
77557763 | alter_algorithm_option
77567764 | alter_lock_option alter_algorithm_option
77577765 | alter_algorithm_option alter_lock_option
7766+ ;
77587767
77597768alter_algorithm_option:
77607769 ALGORITHM_SYM opt_equal DEFAULT
@@ -7813,6 +7822,7 @@ alter_option:
78137822 Lex->alter_info.requested_lock=
78147823 Alter_info::ALTER_TABLE_LOCK_NONE;
78157824 }
7825+ ;
78167826
78177827
78187828opt_restrict:
@@ -8077,6 +8087,7 @@ persistent_stat_spec:
80778087 {}
80788088 | COLUMNS persistent_column_stat_spec INDEXES persistent_index_stat_spec
80798089 {}
8090+ ;
80808091
80818092persistent_column_stat_spec:
80828093 ALL {}
@@ -8780,13 +8791,13 @@ select_alias:
87808791opt_default_time_precision:
87818792 /* empty */ { $$= NOT_FIXED_DEC; }
87828793 | '(' ')' { $$= NOT_FIXED_DEC; }
8783- | '(' real_ulong_num ')' { $$= $2; };
8794+ | '(' real_ulong_num ')' { $$= $2; }
87848795 ;
87858796
87868797opt_time_precision:
87878798 /* empty */ { $$= 0; }
87888799 | '(' ')' { $$= 0; }
8789- | '(' real_ulong_num ')' { $$= $2; };
8800+ | '(' real_ulong_num ')' { $$= $2; }
87908801 ;
87918802
87928803optional_braces:
@@ -9265,6 +9276,7 @@ dyncall_create_element:
92659276 else
92669277 $$->len= 0;
92679278 }
9279+ ;
92689280
92699281dyncall_create_list:
92709282 dyncall_create_element
@@ -10664,7 +10676,7 @@ opt_gconcat_separator:
1066410676
1066510677opt_gorder_clause:
1066610678 /* empty */
10667- | ORDER_SYM BY gorder_list;
10679+ | ORDER_SYM BY gorder_list
1066810680 ;
1066910681
1067010682gorder_list:
@@ -11569,6 +11581,7 @@ opt_window_ref:
1156911581 if (thd->lex->win_ref == NULL)
1157011582 MYSQL_YYABORT;
1157111583 }
11584+ ;
1157211585
1157311586opt_window_partition_clause:
1157411587 /* empty */ { }
@@ -11894,6 +11907,7 @@ limit_rows_option:
1189411907 LEX *lex=Lex;
1189511908 lex->limit_rows_examined= $1;
1189611909 }
11910+ ;
1189711911
1189811912delete_limit_clause:
1189911913 /* empty */
@@ -12406,7 +12420,8 @@ insert_table:
1240612420 lex->field_list.empty();
1240712421 lex->many_values.empty();
1240812422 lex->insert_list=0;
12409- };
12423+ }
12424+ ;
1241012425
1241112426insert_field_spec:
1241212427 insert_values {}
@@ -13424,6 +13439,7 @@ delete_domain_id:
1342413439optional_flush_tables_arguments:
1342513440 /* empty */ {$$= 0;}
1342613441 | AND_SYM DISABLE_SYM CHECKPOINT_SYM {$$= REFRESH_CHECKPOINT; }
13442+ ;
1342713443
1342813444reset:
1342913445 RESET_SYM
@@ -13516,6 +13532,7 @@ kill_type:
1351613532 /* Empty */ { $$= (int) KILL_HARD_BIT; }
1351713533 | HARD_SYM { $$= (int) KILL_HARD_BIT; }
1351813534 | SOFT_SYM { $$= 0; }
13535+ ;
1351913536
1352013537kill_option:
1352113538 /* empty */ { $$= (int) KILL_CONNECTION; }
@@ -13690,7 +13707,8 @@ line_term:
1369013707opt_xml_rows_identified_by:
1369113708 /* empty */ { }
1369213709 | ROWS_SYM IDENTIFIED_SYM BY text_string
13693- { Lex->exchange->line_term = $4; };
13710+ { Lex->exchange->line_term = $4; }
13711+ ;
1369413712
1369513713opt_ignore_lines:
1369613714 /* empty */
@@ -14507,6 +14525,7 @@ TEXT_STRING_filesystem:
1450714525 MYSQL_YYABORT;
1450814526 }
1450914527 }
14528+ ;
1451014529
1451114530ident_table_alias:
1451214531 IDENT_sys { $$= $1; }
@@ -15799,12 +15818,14 @@ grant_command:
1579915818 ;
1580015819
1580115820opt_with_admin:
15802- /* nothing */ { Lex->definer = 0; }
15803- | WITH ADMIN_SYM user_or_role { Lex->definer = $3; }
15821+ /* nothing */ { Lex->definer = 0; }
15822+ | WITH ADMIN_SYM user_or_role { Lex->definer = $3; }
15823+ ;
1580415824
1580515825opt_with_admin_option:
15806- /* nothing */ { Lex->with_admin_option= false; }
15807- | WITH ADMIN_SYM OPTION { Lex->with_admin_option= true; }
15826+ /* nothing */ { Lex->with_admin_option= false; }
15827+ | WITH ADMIN_SYM OPTION { Lex->with_admin_option= true; }
15828+ ;
1580815829
1580915830role_list:
1581015831 grant_role
@@ -16231,7 +16252,7 @@ opt_release:
1623116252 { $$= TVL_UNKNOWN; }
1623216253 | RELEASE_SYM { $$= TVL_YES; }
1623316254 | NO_SYM RELEASE_SYM { $$= TVL_NO; }
16234- ;
16255+ ;
1623516256
1623616257opt_savepoint:
1623716258 /* empty */ {}
@@ -17052,10 +17073,11 @@ uninstall:
1705217073
1705317074/* Avoid compiler warning from sql_yacc.cc where yyerrlab1 is not used */
1705417075keep_gcc_happy:
17055- IMPOSSIBLE_ACTION
17056- {
17057- YYERROR;
17058- }
17076+ IMPOSSIBLE_ACTION
17077+ {
17078+ YYERROR;
17079+ }
17080+ ;
1705917081
1706017082/**
1706117083 @} (end of group Parser)
0 commit comments