MDEV-3798: EXPLAIN UPDATE/DELETE

- Fix EXPLAIN INSERT DELAYED ... : do call end_delayed_insert().
This commit is contained in:
Sergey Petrunya 2013-10-14 20:01:28 +04:00
parent 3e8f7c8516
commit f67f8fd00f

View File

@ -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;