mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@ -10219,6 +10219,10 @@ static int handle_grant_table(THD *thd, const Grant_table_base& grant_table,
|
||||
int result= 0;
|
||||
int error;
|
||||
TABLE *table= grant_table.table();
|
||||
DBUG_ENTER("handle_grant_table");
|
||||
if (!table)
|
||||
DBUG_RETURN(0);
|
||||
|
||||
Field *host_field= table->field[0];
|
||||
Field *user_field= table->field[which_table == USER_TABLE ||
|
||||
which_table == PROXIES_PRIV_TABLE ? 1 : 2];
|
||||
@ -10228,7 +10232,6 @@ static int handle_grant_table(THD *thd, const Grant_table_base& grant_table,
|
||||
const char *user;
|
||||
uchar user_key[MAX_KEY_LENGTH];
|
||||
uint key_prefix_length;
|
||||
DBUG_ENTER("handle_grant_table");
|
||||
|
||||
if (which_table == ROLES_MAPPING_TABLE)
|
||||
{
|
||||
|
Reference in New Issue
Block a user