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

Merge branch '11.0' into 11.1

This commit is contained in:
Sergei Golubchik
2023-12-19 20:11:54 +01:00
672 changed files with 27790 additions and 5130 deletions

View File

@ -472,10 +472,9 @@ bool Sql_cmd_update::update_single_table(THD *thd)
set_statistics_for_table(thd, table);
select= make_select(table, 0, 0, conds, (SORT_INFO*) 0, 0, &error);
if (unlikely(error || thd->is_error() || !limit ||
(select && select->check_quick(thd, safe_update, limit)) ||
table->stat_records() == 0))
if (error || !limit || thd->is_error() || table->stat_records() == 0 ||
(select && select->check_quick(thd, safe_update, limit,
Item_func::BITMAP_ALL)))
{
query_plan.set_impossible_where();
if (thd->lex->describe || thd->lex->analyze_stmt)