Skip to content

Commit

Permalink
Remove flaky test for mediumint to bigint converstion #50
Browse files Browse the repository at this point in the history
This test fails on travis ci, but the failure can not be reproduced on
any other platform. It does not happen on test system with gcc-5, gcc-6
or gcc-7. It also does not happen on arm in testing. Since it can not be
preproduced it is being disabled.
  • Loading branch information
Shelnutt2 committed Feb 21, 2018
1 parent 387b421 commit 25b4745
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mysql-test/crunch/r/alter_table.result
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ column1 column2
1 aHR0cHM6Ly9naXRodWIuY29tL1NoZWxudXR0Mi9jcnVuY2g=
3 dmFsdWUy
5 dmFsdWU
ALTER TABLE t1 ADD COLUMN column3 varchar(255) DEFAULT NULL, ADD COLUMN column4 int DEFAULT 10, MODIFY COLUMN column1 bigint, ALGORITHM=INPLACE;
ALTER TABLE t1 ADD COLUMN column3 varchar(255) DEFAULT NULL, ADD COLUMN column4 int DEFAULT 10, ALGORITHM=INPLACE;
select column1, column2, column3, column4 FROM t1 ORDER BY column1;
column1 column2 column3 column4
1 aHR0cHM6Ly9naXRodWIuY29tL1NoZWxudXR0Mi9jcnVuY2g= NULL NULL
Expand All @@ -306,7 +306,7 @@ column1 column2 column3 column4
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`column1` bigint(20) DEFAULT NULL,
`column1` mediumint(9) DEFAULT NULL,
`column2` varchar(255) DEFAULT NULL,
`column3` varchar(255) DEFAULT NULL,
`column4` int(11) DEFAULT 10
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/crunch/t/alter_table.test
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ CREATE TABLE t1 (
) ENGINE=crunch CONSOLIDATION_THRESHOLD=2;
INSERT INTO t1 VALUES (1,'aHR0cHM6Ly9naXRodWIuY29tL1NoZWxudXR0Mi9jcnVuY2g='), (3,'dmFsdWUy'), (5,'dmFsdWU');
select column1, column2 from t1;
ALTER TABLE t1 ADD COLUMN column3 varchar(255) DEFAULT NULL, ADD COLUMN column4 int DEFAULT 10, MODIFY COLUMN column1 bigint, ALGORITHM=INPLACE;
ALTER TABLE t1 ADD COLUMN column3 varchar(255) DEFAULT NULL, ADD COLUMN column4 int DEFAULT 10, ALGORITHM=INPLACE;
select column1, column2, column3, column4 FROM t1 ORDER BY column1;
show create table t1;
INSERT INTO t1 VALUES (7, 'test', 'test2', 1337);
Expand Down

0 comments on commit 25b4745

Please sign in to comment.