1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Merge branch '11.2' into 11.4

This commit is contained in:
Oleksandr Byelkin
2024-10-30 09:24:04 +01:00
734 changed files with 10187 additions and 4442 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);