1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

post-review cleanup

This commit is contained in:
Sergei Golubchik
2013-10-27 08:19:21 +01:00
parent e46eea8660
commit d5c9712225
5 changed files with 65 additions and 64 deletions

View File

@@ -3908,8 +3908,6 @@ end_with_restore_list:
case SQLCOM_REVOKE_ROLE:
case SQLCOM_GRANT_ROLE:
{
/* TODO access check */
if (!(res= mysql_grant_role(thd, lex->users_list,
lex->sql_command != SQLCOM_GRANT_ROLE)))
my_ok(thd);