From 97c3989409b7310275613acdf2df95edb297711c Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 18 Oct 2013 09:08:55 -0700 Subject: [PATCH] remove DROP ROLE IF EXISTS and CREATE ROLE IF NOT EXISTS syntax --- sql/sql_yacc.yy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 4607b49dcd9..cd176ded1c0 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -2218,7 +2218,7 @@ create: { Lex->sql_command = SQLCOM_CREATE_USER; } - | CREATE ROLE_SYM clear_privileges opt_if_not_exists role_list + | CREATE ROLE_SYM clear_privileges role_list { Lex->sql_command = SQLCOM_CREATE_ROLE; } @@ -11009,7 +11009,7 @@ drop: { Lex->sql_command = SQLCOM_DROP_USER; } - | DROP ROLE_SYM clear_privileges opt_if_exists role_list + | DROP ROLE_SYM clear_privileges role_list { Lex->sql_command = SQLCOM_DROP_ROLE; }