DROP TABLE IF EXISTS t8;
CREATE TABLE t8(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` tinyint(4) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 MODIFY c1 TINYINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` tinyint(4) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` smallint(6) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 MODIFY c1 SMALLINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` smallint(6) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` mediumint(9) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 MODIFY c1 MEDIUMINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` mediumint(9) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 MODIFY c1 INT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 MODIFY c1 INTEGER NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 MODIFY c1 BIGINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` bigint(20) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` tinyint(4) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 CHANGE c1 c1 TINYINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` tinyint(4) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` smallint(6) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 CHANGE c1 c1 SMALLINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` smallint(6) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` mediumint(9) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 CHANGE c1 c1 MEDIUMINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` mediumint(9) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 CHANGE c1 c1 INT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 CHANGE c1 c1 INTEGER NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER TABLE t8 CHANGE c1 c1 BIGINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table	Create Table
t8	CREATE TABLE `t8` (
  `c1` bigint(20) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
