1#
2# MDEV-19595
3# ER_CRASHED_ON_USAGE and Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())'
4# failed upon actions on temporary Aria table with ROW_FORMAT DYNAMIC
5#
6
7CREATE TABLE t1 (b INT);
8INSERT INTO t1 VALUES (5);
9CREATE TEMPORARY TABLE t1 (a INT) ENGINE=Aria ROW_FORMAT=DYNAMIC;
10INSERT INTO t1 VALUES (1);
11DELETE FROM t1 LIMIT 2;
12OPTIMIZE TABLE t1;
13CHECK TABLE t1;
14SELECT * FROM t1;
15INSERT INTO t1 VALUES (1),(2);
16CHECK TABLE t1;
17ALTER TABLE t1 CHANGE COLUMN IF EXISTS x x INT;
18ALTER TABLE t1;
19DROP TEMPORARY TABLE t1;
20DROP TABLE t1;
21