mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.11 into 11.0
This commit is contained in:
@ -1393,7 +1393,8 @@ produce_explain_and_leave:
|
||||
goto err;
|
||||
|
||||
emit_explain_and_leave:
|
||||
int err2= thd->lex->explain->send_explain(thd);
|
||||
bool extended= thd->lex->describe & DESCRIBE_EXTENDED;
|
||||
int err2= thd->lex->explain->send_explain(thd, extended);
|
||||
|
||||
delete select;
|
||||
free_underlaid_joins(thd, select_lex);
|
||||
@ -1467,6 +1468,8 @@ bool mysql_prepare_update(THD *thd, TABLE_LIST *table_list,
|
||||
|
||||
|
||||
select_lex->fix_prepare_information(thd, conds, &fake_conds);
|
||||
if (!thd->lex->upd_del_where)
|
||||
thd->lex->upd_del_where= *conds;
|
||||
DBUG_RETURN(FALSE);
|
||||
}
|
||||
|
||||
@ -1994,7 +1997,10 @@ bool mysql_multi_update(THD *thd, TABLE_LIST *table_list, List<Item> *fields,
|
||||
else
|
||||
{
|
||||
if (thd->lex->describe || thd->lex->analyze_stmt)
|
||||
res= thd->lex->explain->send_explain(thd);
|
||||
{
|
||||
bool extended= thd->lex->describe & DESCRIBE_EXTENDED;
|
||||
res= thd->lex->explain->send_explain(thd, extended);
|
||||
}
|
||||
}
|
||||
thd->abort_on_warning= 0;
|
||||
DBUG_RETURN(res);
|
||||
|
Reference in New Issue
Block a user