mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.10' into 10.11
This commit is contained in:
@ -7041,13 +7041,13 @@ static bool check_show_access(THD *thd, TABLE_LIST *table)
|
||||
@brief Check if the requested privileges exists in either User-, Host- or
|
||||
Db-tables.
|
||||
@param thd Thread context
|
||||
@param want_access Privileges requested
|
||||
@param requirements Privileges requested
|
||||
@param tables List of tables to be compared against
|
||||
@param no_errors Don't report error to the client (using my_error() call).
|
||||
@param any_combination_of_privileges_will_do TRUE if any privileges on any
|
||||
column combination is enough.
|
||||
@param number Only the first 'number' tables in the linked list are
|
||||
relevant.
|
||||
@param no_errors Don't report error to the client (using my_error() call).
|
||||
|
||||
The suppled table list contains cached privileges. This functions calls the
|
||||
help functions check_access and check_grant to verify the first three steps
|
||||
@ -7074,7 +7074,7 @@ static bool check_show_access(THD *thd, TABLE_LIST *table)
|
||||
|
||||
bool
|
||||
check_table_access(THD *thd, privilege_t requirements, TABLE_LIST *tables,
|
||||
bool any_combination_of_privileges_will_do,
|
||||
bool any_combination_of_privileges_will_do,
|
||||
uint number, bool no_errors)
|
||||
{
|
||||
TABLE_LIST *org_tables= tables;
|
||||
@ -9006,7 +9006,6 @@ push_new_name_resolution_context(THD *thd,
|
||||
Name_resolution_context *on_context;
|
||||
if (!(on_context= new (thd->mem_root) Name_resolution_context))
|
||||
return TRUE;
|
||||
on_context->init();
|
||||
on_context->first_name_resolution_table=
|
||||
left_op->first_leaf_for_name_resolution();
|
||||
on_context->last_name_resolution_table=
|
||||
|
Reference in New Issue
Block a user