1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +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

@@ -402,10 +402,10 @@ bool Sql_cmd_delete::delete_from_single_table(THD *thd)
DBUG_RETURN(TRUE);
}
const_cond_result= const_cond && (!conds || conds->val_int());
const_cond_result= const_cond && (!conds || conds->val_bool());
if (unlikely(thd->is_error()))
{
/* Error evaluating val_int(). */
/* Error evaluating val_bool(). */
DBUG_RETURN(TRUE);
}
@@ -504,6 +504,7 @@ bool Sql_cmd_delete::delete_from_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, 0);
@@ -546,6 +547,7 @@ bool Sql_cmd_delete::delete_from_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, 0);