summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <cvicentiu@gmail.com>2013-10-18 04:29:22 -0700
committerSergei Golubchik <sergii@pisem.net>2013-10-18 04:29:22 -0700
commit336ec901f425567870bc664818108656f2f161ff (patch)
tree371968f561c6c6188232503b4937e10d02b10fb0 /sql
parentd40d35660603d0ac764fafadeed6c3a46c1919ba (diff)
downloadmariadb-git-336ec901f425567870bc664818108656f2f161ff.tar.gz
Removed not needed GRANT privilege TO
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_yacc.yy7
1 files changed, 0 insertions, 7 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index db137ae13c6..9b80a4d731b 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -14309,13 +14309,6 @@ grant_command:
lex->sql_command= SQLCOM_GRANT;
lex->type= TYPE_ENUM_PROXY;
}
- | grant_privileges TO_SYM grant_list
- {
- LEX *lex= Lex;
- lex->sql_command= SQLCOM_GRANT_ROLE;
- lex->type= 0;
- printf("Need to grant privileges to a role / user\n");
- }
| grant_role TO_SYM grant_list_with_roles
{
LEX *lex= Lex;