reset the db privilege cache when revoking db priviges on DROP ROLE

This commit is contained in:
Sergei Golubchik 2013-10-23 05:09:17 -07:00
commit f6b8f6d156
2 changed files with 3 additions and 0 deletions

View file

@ -8882,6 +8882,7 @@ static int handle_grant_data(TABLE_LIST *tables, bool drop,
/* If search is requested, we do not need to search further. */
if (search_only)
goto end;
acl_cache->clear(1);
}
}