summaryrefslogtreecommitdiff
path: root/mysql-test/main/engine_error_in_alter-8453.test
blob: 78e6de2d645ee0e8d58784a0c31a4c7cd28490be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#
# MDEV-8453 Alter table not returning engine errors
#
--source include/have_debug.inc

create table t1 (a int, b int);
SET @saved_dbug = @@SESSION.debug_dbug;
SET debug_dbug='+d,external_lock_failure';
--error ER_GET_ERRMSG
alter table t1 add column c int;
SET debug_dbug= @saved_dbug;
drop table t1;