mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
Another correction of the patch for MDEV-24823.
This commits replaces the call of the function setup_tables() with a call of the function setup_tables_and_check_access() in the method Multiupdate_prelocking_strategy::handle_end(). There is no known bug that would require this change. However the change aligns this piece of code with the code existed before the patch for MDEV-24823.
This commit is contained in:
parent
e788738e18
commit
b1ac251bf1
1 changed files with 3 additions and 2 deletions
|
|
@ -1390,8 +1390,9 @@ bool Multiupdate_prelocking_strategy::handle_end(THD *thd)
|
|||
call in setup_tables()).
|
||||
*/
|
||||
|
||||
if (setup_tables(thd, &select_lex->context, &select_lex->top_join_list,
|
||||
table_list, select_lex->leaf_tables, FALSE, TRUE))
|
||||
if (setup_tables_and_check_access(thd, &select_lex->context,
|
||||
&select_lex->top_join_list, table_list, select_lex->leaf_tables,
|
||||
FALSE, UPDATE_ACL, SELECT_ACL, TRUE))
|
||||
DBUG_RETURN(1);
|
||||
|
||||
List<Item> *fields= &lex->select_lex.item_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue