diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-10-14 20:01:28 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-10-14 20:01:28 +0400 |
commit | f67f8fd00fa6cf4bb38b10094060e6842a7d8daa (patch) | |
tree | 824c1b04fae6727df7327318447547bd73d1f93d /sql/sql_insert.cc | |
parent | 3e8f7c8516d643a6e6fae95596cb426082c2c7f5 (diff) | |
download | mariadb-git-f67f8fd00fa6cf4bb38b10094060e6842a7d8daa.tar.gz |
MDEV-3798: EXPLAIN UPDATE/DELETE
- Fix EXPLAIN INSERT DELAYED ... : do call end_delayed_insert().
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 56882f7798c..cbc44700b17 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -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; |