mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-7374 : Losing connection to MySQL while running ALTER TABLE
Backport from 10.1.
This commit is contained in:
8
mysql-test/suite/wsrep/r/alter_table_innodb.result
Normal file
8
mysql-test/suite/wsrep/r/alter_table_innodb.result
Normal file
@@ -0,0 +1,8 @@
|
||||
#
|
||||
# MDEV-7374 : Losing connection to MySQL while running ALTER TABLE
|
||||
#
|
||||
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;
|
1
mysql-test/suite/wsrep/t/alter_table_innodb.opt
Normal file
1
mysql-test/suite/wsrep/t/alter_table_innodb.opt
Normal file
@@ -0,0 +1 @@
|
||||
--wsrep-on=0
|
10
mysql-test/suite/wsrep/t/alter_table_innodb.test
Normal file
10
mysql-test/suite/wsrep/t/alter_table_innodb.test
Normal file
@@ -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;
|
Reference in New Issue
Block a user