mariadb/mysql-test/t/engine_error_in_alter-8453.test

12 lines
303 B
Text

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