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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
710093cc
Commit
710093cc
authored
Sep 04, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compilation failure
parent
64a23c1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
sql/lex.h
sql/lex.h
+3
-3
sql/sql_yacc.yy
sql/sql_yacc.yy
+9
-9
No files found.
sql/lex.h
View file @
710093cc
...
...
@@ -630,7 +630,7 @@ static SYMBOL symbols[] = {
{
"UPGRADE"
,
SYM
(
UPGRADE_SYM
)},
{
"USAGE"
,
SYM
(
USAGE
)},
{
"USE"
,
SYM
(
USE_SYM
)},
{
"USER"
,
SYM
(
USER
)},
{
"USER"
,
SYM
(
USER
_SYM
)},
{
"USER_RESOURCES"
,
SYM
(
RESOURCES
)},
{
"USER_STATISTICS"
,
SYM
(
USER_STATS_SYM
)},
{
"USE_FRM"
,
SYM
(
USE_FRM
)},
...
...
@@ -688,7 +688,7 @@ static SYMBOL sql_functions[] = {
{
"MIN"
,
SYM
(
MIN_SYM
)},
{
"NOW"
,
SYM
(
NOW_SYM
)},
{
"POSITION"
,
SYM
(
POSITION_SYM
)},
{
"SESSION_USER"
,
SYM
(
USER
)},
{
"SESSION_USER"
,
SYM
(
USER
_SYM
)},
{
"STD"
,
SYM
(
STD_SYM
)},
{
"STDDEV"
,
SYM
(
STD_SYM
)},
{
"STDDEV_POP"
,
SYM
(
STD_SYM
)},
...
...
@@ -698,7 +698,7 @@ static SYMBOL sql_functions[] = {
{
"SUBSTRING"
,
SYM
(
SUBSTRING
)},
{
"SUM"
,
SYM
(
SUM_SYM
)},
{
"SYSDATE"
,
SYM
(
SYSDATE
)},
{
"SYSTEM_USER"
,
SYM
(
USER
)},
{
"SYSTEM_USER"
,
SYM
(
USER
_SYM
)},
{
"TRIM"
,
SYM
(
TRIM
)},
{
"VARIANCE"
,
SYM
(
VARIANCE_SYM
)},
{
"VAR_POP"
,
SYM
(
VARIANCE_SYM
)},
...
...
sql/sql_yacc.yy
View file @
710093cc
...
...
@@ -1584,7 +1584,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, ulong *yystacksize);
%token UPDATE_SYM /* SQL-2003-R */
%token UPGRADE_SYM
%token USAGE /* SQL-2003-N */
%token USER
/* SQL-2003-R */
%token USER
_SYM
/* SQL-2003-R */
%token USER_STATS_SYM
%token USE_FRM
%token USE_SYM
...
...
@@ -2455,7 +2455,7 @@ create:
MYSQL_YYABORT;
}
}
| CREATE USER clear_privileges grant_list
| CREATE USER
_SYM
clear_privileges grant_list
{
Lex->sql_command = SQLCOM_CREATE_USER;
}
...
...
@@ -2496,7 +2496,7 @@ server_options_list:
;
server_option:
USER TEXT_STRING_sys
USER
_SYM
TEXT_STRING_sys
{
Lex->server_options.username= $2.str;
}
...
...
@@ -8151,7 +8151,7 @@ rename:
}
table_to_table_list
{}
| RENAME USER clear_privileges rename_list
| RENAME USER
_SYM
clear_privileges rename_list
{
Lex->sql_command = SQLCOM_RENAME_USER;
}
...
...
@@ -9470,7 +9470,7 @@ function_call_keyword:
if ($$ == NULL)
MYSQL_YYABORT;
}
| USER '(' ')'
| USER
_SYM
'(' ')'
{
$$= new (thd->mem_root) Item_func_user();
if ($$ == NULL)
...
...
@@ -11760,7 +11760,7 @@ drop:
lex->check_exists= $3;
lex->spname= $4;
}
| DROP USER clear_privileges user_list
| DROP USER
_SYM
clear_privileges user_list
{
Lex->sql_command = SQLCOM_DROP_USER;
}
...
...
@@ -13018,7 +13018,7 @@ kill_expr:
{
Lex->value_list.push_front($$);
}
| USER user
| USER
_SYM
user
{
Lex->users_list.push_back($2);
Lex->kill_type= KILL_TYPE_USER;
...
...
@@ -14366,7 +14366,7 @@ keyword_sp:
| UNDOFILE_SYM {}
| UNKNOWN_SYM {}
| UNTIL_SYM {}
| USER
{}
| USER
_SYM
{}
| USER_STATS_SYM {}
| USE_FRM {}
| VARIABLES {}
...
...
@@ -15257,7 +15257,7 @@ object_privilege:
| SHOW VIEW_SYM { Lex->grant |= SHOW_VIEW_ACL; }
| CREATE ROUTINE_SYM { Lex->grant |= CREATE_PROC_ACL; }
| ALTER ROUTINE_SYM { Lex->grant |= ALTER_PROC_ACL; }
| CREATE USER
{ Lex->grant |= CREATE_USER_ACL; }
| CREATE USER
_SYM
{ Lex->grant |= CREATE_USER_ACL; }
| EVENT_SYM { Lex->grant |= EVENT_ACL;}
| TRIGGER_SYM { Lex->grant |= TRIGGER_ACL; }
| CREATE TABLESPACE { Lex->grant |= CREATE_TABLESPACE_ACL; }
...
...
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