Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-7374 : Losing connection to MySQL while running ALTER TABLE
Backport from 10.1.
- Loading branch information
Nirbhay Choubey
committed
Jan 24, 2015
1 parent
bb93d46
commit fffc9f5
Showing
5 changed files
with
75 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--wsrep-on=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters