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

Merge 11.2 into 11.4

This commit is contained in:
Marko Mäkelä
2024-10-03 14:32:14 +03:00
560 changed files with 5796 additions and 1398 deletions

View File

@ -10359,6 +10359,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];
@ -10368,7 +10372,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)
{