summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/wsrep/t/alter_table_innodb.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/wsrep/t/alter_table_innodb.test')
-rw-r--r--mysql-test/suite/wsrep/t/alter_table_innodb.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/suite/wsrep/t/alter_table_innodb.test b/mysql-test/suite/wsrep/t/alter_table_innodb.test
new file mode 100644
index 00000000..ca06be02
--- /dev/null
+++ b/mysql-test/suite/wsrep/t/alter_table_innodb.test
@@ -0,0 +1,10 @@
+--source include/have_innodb.inc
+
+--echo #
+--echo # MDEV-7374 : Losing connection to MySQL while running ALTER TABLE
+--echo #
+CREATE TABLE t1(i INT) ENGINE=INNODB;
+INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7),(8);
+INSERT INTO t1 SELECT a.* FROM t1 a, t1 b, t1 c, t1 d, t1 e;
+ALTER TABLE t1 MODIFY i FLOAT;
+DROP TABLE t1;