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:
@ -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;
|
||||
|
Reference in New Issue
Block a user