Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
fc08d48c
Commit
fc08d48c
authored
Oct 26, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_yacc.yy:
cleanup sql/sql_yacc.yy: cleanup
parent
26121e00
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
sql/sql_yacc.yy
sql/sql_yacc.yy
+10
-12
No files found.
sql/sql_yacc.yy
View file @
fc08d48c
...
@@ -168,7 +168,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
...
@@ -168,7 +168,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
%token CAST_SYM
%token CAST_SYM
%token CHECKSUM_SYM
%token CHECKSUM_SYM
%token CHECK_SYM
%token CHECK_SYM
%token CIPHER
%token COMMITTED_SYM
%token COMMITTED_SYM
%token COLUMNS
%token COLUMNS
%token COLUMN_SYM
%token COLUMN_SYM
...
@@ -222,7 +221,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
...
@@ -222,7 +221,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
%token IN_SYM
%token IN_SYM
%token ISOLATION
%token ISOLATION
%token ISAM_SYM
%token ISAM_SYM
%token ISSUER
%token JOIN_SYM
%token JOIN_SYM
%token KEYS
%token KEYS
%token KEY_SYM
%token KEY_SYM
...
@@ -242,7 +240,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
...
@@ -242,7 +240,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
%token MASTER_USER_SYM
%token MASTER_USER_SYM
%token MASTER_LOG_FILE_SYM
%token MASTER_LOG_FILE_SYM
%token MASTER_LOG_POS_SYM
%token MASTER_LOG_POS_SYM
%token MASTER_LOG_SEQ_SYM
%token MASTER_PASSWORD_SYM
%token MASTER_PASSWORD_SYM
%token MASTER_PORT_SYM
%token MASTER_PORT_SYM
%token MASTER_CONNECT_RETRY_SYM
%token MASTER_CONNECT_RETRY_SYM
...
@@ -263,7 +260,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
...
@@ -263,7 +260,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
%token NEW_SYM
%token NEW_SYM
%token NCHAR_SYM
%token NCHAR_SYM
%token NOT
%token NOT
%token NO_FOREIGN_KEY_CHECKS
%token NO_SYM
%token NO_SYM
%token NULL_SYM
%token NULL_SYM
%token NUM
%token NUM
...
@@ -293,7 +289,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
...
@@ -293,7 +289,6 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
%token REAL_NUM
%token REAL_NUM
%token REFERENCES
%token REFERENCES
%token REGEXP
%token REGEXP
%token RELAXED_UNIQUE_CHECKS
%token RELOAD
%token RELOAD
%token RENAME
%token RENAME
%token REPEATABLE_SYM
%token REPEATABLE_SYM
...
@@ -595,7 +590,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
...
@@ -595,7 +590,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
opt_mi_check_type opt_to mi_check_types normal_join
opt_mi_check_type opt_to mi_check_types normal_join
table_to_table_list table_to_table opt_table_list opt_as
table_to_table_list table_to_table opt_table_list opt_as
handler_rkey_function handler_read_or_scan
handler_rkey_function handler_read_or_scan
single_multi table_wild_list table_wild_one opt_wild union union_list
single_multi table_wild_list table_wild_one opt_wild
opt_
union union_list
precision union_option opt_and
precision union_option opt_and
END_OF_INPUT
END_OF_INPUT
...
@@ -793,7 +788,7 @@ create3:
...
@@ -793,7 +788,7 @@ create3:
lex->lock_option= (using_update_log) ? TL_READ_NO_INSERT : TL_READ;
lex->lock_option= (using_update_log) ? TL_READ_NO_INSERT : TL_READ;
mysql_init_select(lex);
mysql_init_select(lex);
}
}
select_options select_item_list opt_select_from union {};
select_options select_item_list opt_select_from
opt_
union {};
opt_as:
opt_as:
/* empty */ {}
/* empty */ {}
...
@@ -1429,7 +1424,7 @@ select:
...
@@ -1429,7 +1424,7 @@ select:
select_init { Lex->sql_command=SQLCOM_SELECT; };
select_init { Lex->sql_command=SQLCOM_SELECT; };
select_init:
select_init:
SELECT_SYM select_part2 { Select->braces=false; } union
SELECT_SYM select_part2 { Select->braces=false; }
opt_
union
|
|
'(' SELECT_SYM select_part2 ')' { Select->braces=true;} union_opt;
'(' SELECT_SYM select_part2 ')' { Select->braces=true;} union_opt;
...
@@ -2501,7 +2496,7 @@ insert_values:
...
@@ -2501,7 +2496,7 @@ insert_values:
mysql_init_select(lex);
mysql_init_select(lex);
}
}
select_options select_item_list select_from select_lock_type
select_options select_item_list select_from select_lock_type
union {};
opt_
union {};
values_list:
values_list:
values_list ',' no_braces
values_list ',' no_braces
...
@@ -3747,7 +3742,7 @@ rollback:
...
@@ -3747,7 +3742,7 @@ rollback:
*/
*/
union:
opt_
union:
/* empty */ {}
/* empty */ {}
| union_list;
| union_list;
...
@@ -3774,11 +3769,14 @@ union_list:
...
@@ -3774,11 +3769,14 @@ union_list:
;
;
union_opt:
union_opt:
union {}
union
_list
{}
| optional_order_or_limit {};
| optional_order_or_limit {};
optional_order_or_limit:
optional_order_or_limit:
/* empty */ {}
/* empty
intentional reduce/reduce conflict here !!!
{ code } below should not be executed
when neither ORDER BY nor LIMIT are used */ {}
|
|
{
{
LEX *lex=Lex;
LEX *lex=Lex;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment