Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
We'll introduce a new token type "create_field" in sql_yacc.yy:
%union {
|
...
|
Create_field *create_field;
|
...
|
}
|
and change data type of the rules "field_spec" from and "column_def from NONE to create_field.
The rule "field_spec" will return the value created by this code:
field_spec:
|
field_ident
|
{
|
LEX *lex=Lex;
|
Create_field *f= new Create_field();
|
...
|
The rule "column_def" will further return the value created by its "field_spec" part.
Attachments
Issue Links
- blocks
-
MDEV-8094 sql_yacc.yy: get rid of the rules "opt_if_not_exists_table_element" and "opt_if_exists_table_element"
-
- Open
-
Activity
Workflow | MariaDB v2 [ 60801 ] | MariaDB v3 [ 66251 ] |
Fix Version/s | 10.2 [ 14601 ] |
Fix Version/s | 10.2 [ 14601 ] |
Sprint | 10.2.0-1 [ 21 ] |
Rank | Ranked higher |
Sprint | 10.2.0-1 [ 21 ] |
Component/s | Parser [ 10201 ] | |
Fix Version/s | 10.2.0 [ 20700 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Labels | refactoring |
Workflow | MariaDB v3 [ 66251 ] | MariaDB v4 [ 132606 ] |