1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-16 00:42:55 +03:00

Bug #23675 Partitions: possible security breach via alter

now we return different error message if user doesn't have
SELECT grants
This commit is contained in:
holyfoot/hf@mysql.com/hfmain.(none)
2007-04-04 14:01:47 +05:00
parent 45fb6c90f0
commit f55ab9ef5e
7 changed files with 63 additions and 16 deletions

View File

@ -5781,7 +5781,7 @@ bool setup_tables_and_check_access(THD *thd,
{
if (leaves_tmp->belong_to_view &&
check_single_table_access(thd, first_table ? want_access_first :
want_access, leaves_tmp))
want_access, leaves_tmp, FALSE))
{
tables->hide_view_error(thd);
return TRUE;