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:
@ -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)
|
||||
|
Reference in New Issue
Block a user