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

Merge tag '11.4' into 11.6

MariaDB 11.4.4 release
This commit is contained in:
Oleksandr Byelkin
2024-11-08 07:17:00 +01:00
743 changed files with 10281 additions and 4508 deletions

View File

@ -473,6 +473,7 @@ bool Sql_cmd_update::update_single_table(THD *thd)
{
thd->lex->current_select->save_leaf_tables(thd);
thd->lex->current_select->leaf_tables_saved= true;
thd->lex->current_select->first_cond_optimization= 0;
}
my_ok(thd); // No matching records
@ -513,6 +514,7 @@ bool Sql_cmd_update::update_single_table(THD *thd)
{
thd->lex->current_select->save_leaf_tables(thd);
thd->lex->current_select->leaf_tables_saved= true;
thd->lex->current_select->first_cond_optimization= 0;
}
my_ok(thd); // No matching records
@ -1296,6 +1298,7 @@ update_end:
{
thd->lex->current_select->save_leaf_tables(thd);
thd->lex->current_select->leaf_tables_saved= true;
thd->lex->current_select->first_cond_optimization= 0;
}
((multi_update *)result)->set_found(found);
((multi_update *)result)->set_updated(updated);
@ -1618,8 +1621,8 @@ bool Multiupdate_prelocking_strategy::handle_end(THD *thd)
DBUG_RETURN(true);
List<Item> *fields= &lex->first_select_lex()->item_list;
if (setup_fields_with_no_wrap(thd, Ref_ptr_array(),
*fields, MARK_COLUMNS_WRITE, 0, 0))
if (setup_fields_with_no_wrap(thd, Ref_ptr_array(), *fields,
MARK_COLUMNS_WRITE, 0, 0, THD_WHERE::SET_LIST))
DBUG_RETURN(1);
// Check if we have a view in the list ...