Added optional if not exists for create role.

This commit is contained in:
Vicențiu Ciorbaru 2013-10-18 04:35:36 -07:00 committed by Sergei Golubchik
parent 51c631c2ae
commit fac8c9ef43

View File

@ -2218,7 +2218,7 @@ create:
{
Lex->sql_command = SQLCOM_CREATE_USER;
}
| CREATE ROLE_SYM clear_privileges role_list
| CREATE ROLE_SYM clear_privileges opt_if_not_exists role_list
{
Lex->sql_command = SQLCOM_CREATE_ROLE;
}