Commit 6e685042 authored by tonu@x153.internalnet's avatar tonu@x153.internalnet

SSL parser change

parent 6e490cb7
...@@ -153,6 +153,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize); ...@@ -153,6 +153,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
%token CASCADE %token CASCADE
%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
...@@ -206,6 +207,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize); ...@@ -206,6 +207,7 @@ 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
...@@ -271,6 +273,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize); ...@@ -271,6 +273,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
%token RELOAD %token RELOAD
%token RENAME %token RENAME
%token REPEATABLE_SYM %token REPEATABLE_SYM
%token REQUIRE_SYM
%token RESTORE_SYM %token RESTORE_SYM
%token RESTRICT %token RESTRICT
%token REVOKE %token REVOKE
...@@ -284,6 +287,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize); ...@@ -284,6 +287,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b,int *yystacksize);
%token STARTING %token STARTING
%token STATUS_SYM %token STATUS_SYM
%token STRAIGHT_JOIN %token STRAIGHT_JOIN
%token SUBJECT_SYM
%token TABLES %token TABLES
%token TABLE_SYM %token TABLE_SYM
%token TEMPORARY %token TEMPORARY
...@@ -3381,6 +3385,19 @@ column_list_id: ...@@ -3381,6 +3385,19 @@ column_list_id:
lex->columns.push_back(new LEX_COLUMN (*new_str,lex->which_columns)); lex->columns.push_back(new LEX_COLUMN (*new_str,lex->which_columns));
} }
require_clause: /* empty */
| REQUIRE_SYM require_list { /* do magic */}
require_list: require_list_element AND require_list
{ /* do magic */}
| require_list_element {/*do magic*/}
require_list_element: SUBJECT_SYM TEXT_STRING
| ISSUER TEXT_STRING
| CIPHER TEXT_STRING
grant_option: grant_option:
/* empty */ {} /* empty */ {}
| WITH GRANT OPTION { Lex->grant |= GRANT_ACL;} | WITH GRANT OPTION { Lex->grant |= GRANT_ACL;}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment