summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-04-07 19:26:25 +0300
committerMonty <monty@mariadb.org>2016-04-07 19:31:10 +0300
commit293cb04959172f65b9d62124fd20339c47658eb0 (patch)
tree72433a6e0813d2e01038df7d44da8c4af340597d /sql/sql_parse.cc
parent4b6a3518e4dc9088d1f42cd9bc487d06137d2760 (diff)
downloadmariadb-git-293cb04959172f65b9d62124fd20339c47658eb0.tar.gz
MDEV-9621 INSERT DELAYED fails on insert for tables with many columns
This fix also fixes a connection hang when trying to do INSERT DELAYED to a crashed table. Added crash_mysqld.inc to allow easy crash+restart of mysqld
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 6fcb549f097..4c8bb05cc39 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -4925,6 +4925,7 @@ end_with_restore_list:
}
case SQLCOM_SHUTDOWN:
#ifndef EMBEDDED_LIBRARY
+ DBUG_EXECUTE_IF("crash_shutdown", DBUG_SUICIDE(););
if (check_global_access(thd,SHUTDOWN_ACL))
goto error;
kill_mysql();