MDEV-3798: EXPLAIN UPDATE/DELETE
- Fix EXPLAIN INSERT DELAYED ... : do call end_delayed_insert().
This commit is contained in:
parent
3e8f7c8516
commit
f67f8fd00f
@ -820,7 +820,7 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
|
||||
if (thd->lex->describe)
|
||||
{
|
||||
retval= thd->lex->explain->send_explain(thd);
|
||||
goto free_and_exit;
|
||||
goto abort;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1177,7 +1177,6 @@ abort:
|
||||
if (table != NULL)
|
||||
table->file->ha_release_auto_increment();
|
||||
|
||||
free_and_exit:
|
||||
if (!joins_freed)
|
||||
free_underlaid_joins(thd, &thd->lex->select_lex);
|
||||
thd->abort_on_warning= 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user