1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-16615 ASAN SEGV in handler::print_error or server crash after error upon CREATE TABLE

table->in_use is not always set and a KILL signal can arrive anytime.
This commit is contained in:
Sergei Golubchik
2018-06-28 16:17:21 +02:00
parent 8ca18294d5
commit 45cabf1017
3 changed files with 13 additions and 2 deletions

View File

@ -5,6 +5,7 @@
--source include/not_embedded.inc
--source include/have_innodb.inc
--source include/have_sequence.inc
--source include/not_valgrind.inc
--echo
@ -226,3 +227,10 @@ call pr();
set max_statement_time = 0;
drop procedure pr;
drop table t1;
#
# MDEV-16615 ASAN SEGV in handler::print_error or server crash after error upon CREATE TABLE
#
SET max_statement_time= 1;
--error ER_STATEMENT_TIMEOUT
CREATE TABLE t ENGINE=InnoDB SELECT * FROM seq_1_to_50000;