1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

merge with 3.23

This commit is contained in:
monty@mysql.com
2004-03-25 22:05:09 +02:00
4 changed files with 53 additions and 31 deletions

View File

@ -1772,7 +1772,7 @@ mysql_execute_command(void)
tmp_table.real_name=lex->name;
tmp_table.db=select_lex->db;
tmp_table.grant.privilege=priv;
if (check_grant(thd,INSERT_ACL | CREATE_ACL,tables))
if (check_grant(thd,INSERT_ACL | CREATE_ACL, &tmp_table))
goto error;
}
}